mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Revised Dockerfile and goreleaser to allow for CI
This commit is contained in:
parent
4298912ee7
commit
ce61aed9a4
2 changed files with 7 additions and 2 deletions
|
|
@ -22,6 +22,11 @@ dockers:
|
||||||
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
||||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||||
- "--label=org.opencontainers.image.version={{.Version}}"
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
||||||
|
extra_files:
|
||||||
|
- LICENSE
|
||||||
|
- CHANGELOG.md
|
||||||
|
- README.md
|
||||||
|
- bin/magellan.sh
|
||||||
archives:
|
archives:
|
||||||
- format: tar.gz
|
- format: tar.gz
|
||||||
rlcp: true
|
rlcp: true
|
||||||
|
|
@ -34,10 +39,10 @@ archives:
|
||||||
{{- else }}{{ .Arch }}{{ end }}
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||||
files:
|
files:
|
||||||
- migrations/*
|
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- CHANGELOG.md
|
- CHANGELOG.md
|
||||||
- README.md
|
- README.md
|
||||||
|
- bin/magellan.sh
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ USER 65534:65534
|
||||||
|
|
||||||
|
|
||||||
COPY magellan /magellan
|
COPY magellan /magellan
|
||||||
COPY bin/magellan.sh /usr/bin/magellan.sh
|
COPY /bin/magellan.sh /magellan.sh
|
||||||
|
|
||||||
|
|
||||||
CMD [ "/magellan.sh" ]
|
CMD [ "/magellan.sh" ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue