mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 19:15:30 +00:00
Tweaked the Docker image build workflow to properly tag the image based on the repository branch name.
This commit is contained in:
parent
c0f1698a9a
commit
7ef6ee4422
2
.github/workflows/build-and-publish.yml
vendored
2
.github/workflows/build-and-publish.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user