diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index d51920f..f76ed98 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -47,7 +47,7 @@ jobs: context: ./ file: ./docker/Dockerfile push: true - tags: powerdnsadmin/pda-legacy:$(git rev-parse --abbrev-ref HEAD | sed 's/[^a-zA-Z0-9]/-/g') + tags: powerdnsadmin/pda-legacy:${{ github.ref_name }} - name: Docker Image Release Tagging uses: docker/build-push-action@v2