diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..15716e7 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,15 @@ +name: Publish Docker Image +on: + release: + types: [published, created, edited] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Publish to Registry + uses: elgohr/Publish-Docker-Github-Action@master + with: + name: inovex/pgbouncer-vault-sidecar + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }}