From 5bb1a7ee29fd42d41cc348966c3b1d0abda38a7f Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Sat, 6 Nov 2021 15:37:13 +0100 Subject: [PATCH] Update docker image build script --- .github/workflows/build-and-publish.yml | 2 ++ 1 file changed, 2 insertions(+) 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 }}