Skip to content

Commit

Permalink
Update tagging strategy in CI/CD workflow file
Browse files Browse the repository at this point in the history
The tagging strategy for the continuous integration / continuous delivery workflow file was updated: the type for branch events was changed from 'ref' to 'sha'. This change ensures a more consistent and accurate tagging process for different types of events triggered in the repository.
  • Loading branch information
CreatedByBdr committed Feb 8, 2024
1 parent f5888fe commit 2bd00ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
images: ${{ env.GAR }}/${{ env.GCP_Project_ID }}/${{ env.Project }}/${{ github.head_ref && 'feature' || github.ref_name }}
flavor: latest=false
tags: |
type=sha,suffix=-{{sha}},event=branch
type=sha,event=branch
type=ref,suffix=-{{sha}},event=pr
type=ref,event=tag
Expand Down

0 comments on commit 2bd00ab

Please sign in to comment.