Skip to content

Commit

Permalink
ci: make build with sha
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrebrg committed Jan 13, 2023
1 parent 719a0a7 commit 0293fb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]]
Expand Down

0 comments on commit 0293fb9

Please sign in to comment.