From 7968d165c6a70a49081dbd4f534cd53e7cab01f9 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Thu, 11 May 2023 14:20:21 +0200 Subject: [PATCH] ci: use strict semver for gcp guest agent image Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/build-gcp-guest-agent.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-gcp-guest-agent.yml b/.github/workflows/build-gcp-guest-agent.yml index be4149b81..4b83b4585 100644 --- a/.github/workflows/build-gcp-guest-agent.yml +++ b/.github/workflows/build-gcp-guest-agent.yml @@ -30,7 +30,7 @@ jobs: beforeDot="${semver%%.*}" afterDot="${semver#*.}" afterDotEvaluated=$((afterDot)) - semver="$beforeDot.$afterDotEvaluated" + semver="v${beforeDot}.${afterDotEvaluated}.0" echo "Semver tag of guest-agent is $semver" echo "latest=$semver" | tee -a "$GITHUB_OUTPUT" @@ -100,7 +100,7 @@ jobs: - name: Log in to the Container registry id: docker-login if: steps.needs-build.outputs.out == 'true' - uses: ./.github/actions/container_registry_login + uses: ./constellation/.github/actions/container_registry_login with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }}