mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: use strict semver for gcp guest agent image
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
c39df2f7da
commit
7968d165c6
4
.github/workflows/build-gcp-guest-agent.yml
vendored
4
.github/workflows/build-gcp-guest-agent.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user