Skip to content

Commit

Permalink
Merge pull request #28 from mikeiken/action-patch
Browse files Browse the repository at this point in the history
Update on-release.yml
  • Loading branch information
Kseen715 authored Oct 13, 2024
2 parents cbdb202 + 3ef6793 commit 6c51008
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ name: Create and publish a Docker images to GitHub Packages
on:
release:
types: [published]
push:
tags:
- v*
workflow_dispatch:

env:
Expand Down Expand Up @@ -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
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}${{ env.PSQL_SUFFIX }}:$STRIPPED_TAG

0 comments on commit 6c51008

Please sign in to comment.