From 0293fb9132b64e4f2a0d067bc209aaeea06ca3e7 Mon Sep 17 00:00:00 2001 From: AlexandreBrg Date: Fri, 13 Jan 2023 19:11:11 +0100 Subject: [PATCH] ci: make build with sha --- .github/workflows/package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 431c1678..76f88b62 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -22,6 +22,10 @@ jobs: with: images: ghcr.io/${{ github.repository }} flavor: ${{ inputs.docker-metadata-flavor }} + tags: | + type=ref,event=branch + type=semver,pattern={{version}},event=tag + type=sha,event=branch - id: extract-env run: | if [[ "$GITHUB_REF_TYPE" == tag ]]