From 0a06f923e034494e7e966341fa1540c78b1ce23f Mon Sep 17 00:00:00 2001 From: Katie Strader Date: Wed, 10 Jun 2026 16:24:29 -0700 Subject: [PATCH] fix: adding prerelease check so rc isn't set to latest --- .github/workflows/build-and-sign-container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-sign-container.yml b/.github/workflows/build-and-sign-container.yml index fde1935..b4f8076 100644 --- a/.github/workflows/build-and-sign-container.yml +++ b/.github/workflows/build-and-sign-container.yml @@ -57,7 +57,7 @@ jobs: run: | TAGS="${{ steps.image-ref.outputs.version_tag }}" - if [ -n "${{ matrix.latest_tag }}" ]; then + if [ -n "${{ matrix.latest_tag }}" ] && [ "${{ github.event.release.prerelease }}" != "true" ]; then TAGS="${TAGS}"$'\n'"${DOCKER_REGISTRY}/${DOCKER_REPOSITORY}:${{ matrix.latest_tag }}" fi