Skip to content

Commit d39b88a

Browse files
techknowlogicklafriks
authored andcommitted
Fix master build for docs docker (#3004)
1 parent d99f4ab commit d39b88a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.drone.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ pipeline:
194194
pull: true
195195
secrets: [ docker_username, docker_password ]
196196
repo: gitea/docs
197+
context: docs
197198
dockerfile: docs/Dockerfile
198199
tags: [ '${DRONE_BRANCH##release/v}' ]
199200
when:
@@ -205,6 +206,7 @@ pipeline:
205206
pull: true
206207
secrets: [ docker_username, docker_password ]
207208
repo: gitea/docs
209+
context: docs
208210
dockerfile: docs/Dockerfile
209211
tags: [ 'latest' ]
210212
when:

docs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ EXPOSE 80
1616
RUN apk add --no-cache wget mailcap ca-certificates
1717
COPY --from=build-env /go/bin/caddy /usr/sbin/caddy
1818

19-
COPY docs/docker/caddy.conf /etc/caddy.conf
20-
COPY docs/public /srv/www
19+
COPY docker/caddy.conf /etc/caddy.conf
20+
COPY public /srv/www
2121

2222
CMD ["/usr/sbin/caddy", "-conf", "/etc/caddy.conf"]

0 commit comments

Comments
 (0)