diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index bf33cd4a..9f725090 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -43,7 +43,8 @@ jobs: images: | ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }} tags: | - type=ref,event=branch + type=ref,event=pull_request + type=raw,value={{github.event.pull_request.head.ref}},enable=${{ github.event.pull_request.merged == true }} labels: | maintainer=Digital Victoria repository=${{ github.repositoryUrl }}