Revised Dockerfile and goreleaser to allow for CI

This commit is contained in:
Alex Lovell-Troy 2023-10-23 16:12:18 -04:00
parent 4298912ee7
commit ce61aed9a4
2 changed files with 7 additions and 2 deletions

View file

@ -22,6 +22,11 @@ dockers:
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
extra_files:
- LICENSE
- CHANGELOG.md
- README.md
- bin/magellan.sh
archives:
- format: tar.gz
rlcp: true
@ -34,10 +39,10 @@ archives:
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
files:
- migrations/*
- LICENSE
- CHANGELOG.md
- README.md
- bin/magellan.sh
checksum:
name_template: 'checksums.txt'
snapshot:

View file

@ -7,7 +7,7 @@ USER 65534:65534
COPY magellan /magellan
COPY bin/magellan.sh /usr/bin/magellan.sh
COPY /bin/magellan.sh /magellan.sh
CMD [ "/magellan.sh" ]