Skip to content

Commit

Permalink
[ci] fixing build of docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman committed Apr 22, 2024
1 parent eb74dc6 commit 7b09b36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ before:
- go mod tidy

builds:
- main: './cmd/backup'
- id: borg-backup-remotely
main: './cmd/backup'
env:
- CGO_ENABLED=0
goos:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.19
RUN apk add --no-cache openssh borgbackup
ENTRYPOINT ["/usr/bin/backup"]
COPY mybin /usr/bin/backup
ENTRYPOINT ["/usr/bin/borg-backup-remotely"]
COPY borg-backup-remotely /usr/bin/borg-backup-remotely

0 comments on commit 7b09b36

Please sign in to comment.