File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 21
21
# github.repository as <account>/<repo>
22
22
IMAGE_NAME : ${{ github.repository }}
23
23
24
-
25
24
jobs :
26
25
build :
27
26
77
76
with :
78
77
context : .
79
78
push : ${{ github.event_name != 'pull_request' }}
80
- tags : ${{ steps.meta.outputs.tags }}
79
+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest # Always tag as 'latest'
81
80
labels : ${{ steps.meta.outputs.labels }}
82
81
cache-from : type=gha
83
82
cache-to : type=gha,mode=max
91
90
if : ${{ github.event_name != 'pull_request' }}
92
91
env :
93
92
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
94
- TAGS : ${{ steps.meta.outputs.tags }}
93
+ TAGS : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
95
94
DIGEST : ${{ steps.build-and-push.outputs.digest }}
96
95
# This step uses the identity token to provision an ephemeral certificate
97
96
# against the sigstore community Fulcio instance.
You can’t perform that action at this time.
0 commit comments