File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 59
59
echo "image_labels=quay.expires-after=2w" >> $GITHUB_OUTPUT
60
60
fi
61
61
echo "image_created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
62
+ echo "timestamp=$(date -u +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
62
63
63
64
- name : Login to quay.io
64
65
if : github.actor != 'dependabot[bot]'
@@ -117,6 +118,7 @@ jobs:
117
118
CREATED=${{ steps.vars.outputs.image_created }}
118
119
tags : |
119
120
quay.io/${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}
121
+ quay.io/${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}-${{ steps.vars.outputs.timestamp }}
120
122
platforms : linux/amd64,linux/arm64/v8
121
123
labels : ${{ steps.vars.outputs.image_labels }}
122
124
provenance : false
@@ -129,3 +131,4 @@ jobs:
129
131
DST_IMAGE : ${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}
130
132
run : |
131
133
docker buildx imagetools create ${{ env.SRC_IMAGE }} -t ${{ env.DST_IMAGE }}
134
+ docker buildx imagetools create ${{ env.SRC_IMAGE }}-${{ steps.vars.outputs.timestamp }} -t ${{ env.DST_IMAGE }}-${{ steps.vars.outputs.timestamp }}
You can’t perform that action at this time.
0 commit comments