Skip to content

Commit

Permalink
Untag expiration on nightly images
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales committed Feb 18, 2025
1 parent 0571b91 commit 718088e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/reusable-build-flavor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,6 @@ jobs:
if [[ -n "${{ inputs.kubernetes_version }}" ]]; then
NIGHTLY_NAME+="-${{ inputs.kubernetes_version }}"
fi
docker tag ${{ env.IMAGE_NAME }} $NIGHTLY_NAME
docker run --name temp_container ${{ env.IMAGE_NAME }}
docker commit --change='LABEL quay.expires-after=' temp_container $NIGHTLY_NAME
docker push $NIGHTLY_NAME

0 comments on commit 718088e

Please sign in to comment.