pgroll/Dockerfile
xiaoyao9184 5812acc886
Support build docker image (#209)
Build the docker image during release and push to ghcr.io

Package results:

https://github.com/users/xiaoyao9184/packages/container/package/pgroll

There are two modifications for `.goreleaser.yaml`:

- Add `DOCKER_USERNAME` environment variable for push customize docker
registry.
- Add `GITHUB_USERNAME` environment variable for fix unable to update
Homebrew Tap.
see
https://github.com/xiaoyao9184/pgroll/actions/runs/6994513095/job/19028379596#step:8:81
2023-11-30 14:13:07 +00:00

3 lines
73 B
Docker

FROM scratch
COPY pgroll /usr/bin/pgroll
ENTRYPOINT [ "/usr/bin/pgroll" ]