mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 15:10:27 +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: ./
|
context: ./
|
||||||
file: ./docker/Dockerfile
|
file: ./docker/Dockerfile
|
||||||
push: true
|
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
|
- name: Docker Image Release Tagging
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user