Update docker image build script

This commit is contained in:
Khanh Ngo 2021-11-06 15:37:13 +01:00
parent c85a5dac24
commit 5bb1a7ee29
No known key found for this signature in database
GPG Key ID: 920A7D645DCB23DF

View File

@ -21,6 +21,7 @@ jobs:
images: |
ngoduykhanh/powerdns-admin
tags: |
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
@ -51,3 +52,4 @@ jobs:
file: ./docker/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}