From 01fbd91d76a734dd1a5af22340d334b5500aaa11 Mon Sep 17 00:00:00 2001 From: Natalie Arellano Date: Mon, 30 Oct 2023 09:19:54 -0400 Subject: [PATCH] Add floating :base tag Signed-off-by: Natalie Arellano --- .github/workflows/delivery-docker.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/delivery-docker.yml b/.github/workflows/delivery-docker.yml index 10675f99db..c956195175 100644 --- a/.github/workflows/delivery-docker.yml +++ b/.github/workflows/delivery-docker.yml @@ -70,6 +70,10 @@ jobs: --build-arg base_image=${{ matrix.base_image }} \ --provenance=false \ --push + - name: Tag Image as Base + if: ${{ (github.event.release != '' || github.event.inputs.tag_latest) && matrix.config == 'base' }} + run: | + crane copy ${{ env.IMG_NAME }}:${{ steps.version.outputs.result }} ${{ env.IMG_NAME }}:base - name: Tag Image as Latest if: ${{ (github.event.release != '' || github.event.inputs.tag_latest) && matrix.config != 'base' }} run: |