Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release images to ghcr.io #16

Merged
merged 2 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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