mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-26 15:37:40 +00:00
Fix master build for docs docker (#3004)
This commit is contained in:
parent
d99f4ab003
commit
d39b88ae88
@ -194,6 +194,7 @@ pipeline:
|
|||||||
pull: true
|
pull: true
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
repo: gitea/docs
|
repo: gitea/docs
|
||||||
|
context: docs
|
||||||
dockerfile: docs/Dockerfile
|
dockerfile: docs/Dockerfile
|
||||||
tags: [ '${DRONE_BRANCH##release/v}' ]
|
tags: [ '${DRONE_BRANCH##release/v}' ]
|
||||||
when:
|
when:
|
||||||
@ -205,6 +206,7 @@ pipeline:
|
|||||||
pull: true
|
pull: true
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
repo: gitea/docs
|
repo: gitea/docs
|
||||||
|
context: docs
|
||||||
dockerfile: docs/Dockerfile
|
dockerfile: docs/Dockerfile
|
||||||
tags: [ 'latest' ]
|
tags: [ 'latest' ]
|
||||||
when:
|
when:
|
||||||
|
@ -16,7 +16,7 @@ EXPOSE 80
|
|||||||
RUN apk add --no-cache wget mailcap ca-certificates
|
RUN apk add --no-cache wget mailcap ca-certificates
|
||||||
COPY --from=build-env /go/bin/caddy /usr/sbin/caddy
|
COPY --from=build-env /go/bin/caddy /usr/sbin/caddy
|
||||||
|
|
||||||
COPY docs/docker/caddy.conf /etc/caddy.conf
|
COPY docker/caddy.conf /etc/caddy.conf
|
||||||
COPY docs/public /srv/www
|
COPY public /srv/www
|
||||||
|
|
||||||
CMD ["/usr/sbin/caddy", "-conf", "/etc/caddy.conf"]
|
CMD ["/usr/sbin/caddy", "-conf", "/etc/caddy.conf"]
|
||||||
|
Loading…
Reference in New Issue
Block a user