diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 2428b60..d49fb5c 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -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 }}