Skip to content

Commit

Permalink
Added ssl and keys directory to goreleaser bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomika committed Jun 10, 2020
1 parent c1bd798 commit d778088
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/.github/
/.gitignore
/deploy/
!/deploy/ssl/.gitkeep
!/deploy/keys/.gitkeep
!/deploy/pubkeys/.gitkeep
/dist/
/sish
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ archives:
files:
- LICENSE*
- README*
- deploy/ssl/
- deploy/keys/
- deploy/pubkeys/
- templates/**/*
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ WORKDIR /app

COPY --from=builder /tmp /tmp
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/deploy/pubkeys /app/deploy/pubkeys
COPY --from=builder /app/deploy/ /app/deploy/
COPY --from=builder /app/templates /app/templates
COPY --from=builder /go/bin/sish /app/sish

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.buildkit
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WORKDIR /app

COPY --from=builder /tmp /tmp
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/deploy/pubkeys /app/deploy/pubkeys
COPY --from=builder /app/deploy/ /app/deploy/
COPY --from=builder /app/templates /app/templates
COPY --from=builder /go/bin/sish /app/sish

Expand Down

0 comments on commit d778088

Please sign in to comment.