Skip to content

Commit

Permalink
Release images to ghcr.io (#16)
Browse files Browse the repository at this point in the history
* add labels to container image

* Release image to ghcr.io
  • Loading branch information
fischerman authored May 3, 2023
1 parent 96992de commit 5aaa649
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: inovex/pgbouncer-vault-sidecar
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: build
tag_semver: true
tag_semver: true
4 changes: 4 additions & 0 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Use consul-template upstream image
FROM hashicorp/consul-template:0.31.0

LABEL org.opencontainers.image.source=https://github.com/inovex/pgbouncer-vault-sidecar
LABEL org.opencontainers.image.description="Credential management for your Postgres database connections! "
LABEL org.opencontainers.image.licenses=AFL-2.0

# Switch to root for setup
USER root

Expand Down

0 comments on commit 5aaa649

Please sign in to comment.