Skip to content

Commit

Permalink
Add tags
Browse files Browse the repository at this point in the history
  • Loading branch information
AndesKrrrrrrrrrrr committed Jan 10, 2025
1 parent ce46de8 commit 8ea3b94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ jobs:
# Infix a slash when PUSH_REGISTRY is non-empty
images: |
${{ env.PUSH_REGISTRY }}${{ env.PUSH_REGISTRY && '/' || '' }}${{ github.repository }}/${{ matrix.project }}
tags: |
type=ref,event=branch
# Git SHA
type=sha,format=short
type=sha,format=long
# SemVer by tag (e.g. v1.2.3)
type=semver,pattern={{version}}
- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 8ea3b94

Please sign in to comment.