File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -123,18 +123,19 @@ jobs:
123
123
provenance : false
124
124
target : JAVA_BASE_IMAGE
125
125
126
- - name : Push additional image to quay.io
126
+ - name : Push additional anchored tag to quay.io
127
+ if : github.ref_name == 'master'
127
128
env :
128
129
SRC_IMAGE : quay.io/${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}
129
130
DST_IMAGE : quay.io/${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}-${{ steps.vars.outputs.timestamp }}
130
131
run : |
131
132
docker buildx imagetools create ${{ env.SRC_IMAGE }} -t ${{ env.DST_IMAGE }}
132
133
133
- - name : Push Image to docker.io
134
+ - name : Push images to docker.io
134
135
if : github.ref_name == 'master'
135
136
env :
136
137
SRC_IMAGE : quay.io/${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}
137
138
DST_IMAGE : ${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}
138
139
run : |
139
140
docker buildx imagetools create ${{ env.SRC_IMAGE }} -t ${{ env.DST_IMAGE }}
140
- docker buildx imagetools create ${{ env.SRC_IMAGE }}-${{ steps.vars.outputs.timestamp }} -t ${{ env.DST_IMAGE }}-${{ steps.vars.outputs.timestamp }}
141
+ docker buildx imagetools create ${{ env.SRC_IMAGE }} -t ${{ env.DST_IMAGE }}-${{ steps.vars.outputs.timestamp }}
You can’t perform that action at this time.
0 commit comments