diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 65e564fc..85291f84 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -4,6 +4,9 @@ name: Create and publish a Docker images to GitHub Packages on: release: types: [published] + push: + tags: + - v* workflow_dispatch: env: @@ -243,4 +246,4 @@ jobs: RELEASE_TAG=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r .tag_name) STRIPPED_TAG=${RELEASE_TAG#v} docker tag ${{ steps.meta.outputs.tags }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}${{ env.PSQL_SUFFIX }}:$STRIPPED_TAG - docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}${{ env.PSQL_SUFFIX }}:$STRIPPED_TAG \ No newline at end of file + docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}${{ env.PSQL_SUFFIX }}:$STRIPPED_TAG