Tweaked the Docker image build workflow to properly tag the image based on the repository branch name.

This commit is contained in:
Matt Scott 2023-03-10 18:26:39 -05:00
parent c0f1698a9a
commit 7ef6ee4422

View File

@ -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