From 342a71fa36dc80e3a49e8eca66c743d8fcb54ce4 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Wed, 26 Jul 2023 12:18:07 +0200 Subject: [PATCH] bazel: fix container versioning Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/build-bazel-container.yml | 3 ++- bazel/container/container.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-bazel-container.yml b/.github/workflows/build-bazel-container.yml index 420b961412..9f0f541e02 100644 --- a/.github/workflows/build-bazel-container.yml +++ b/.github/workflows/build-bazel-container.yml @@ -6,6 +6,7 @@ on: - "main" paths: - "bazel/container/**" + - ".github/workflows/build-bazel-container.yml" workflow_dispatch: jobs: @@ -23,7 +24,7 @@ jobs: working-directory: ./bazel/container run: | version=$(grep "ARG BAZEL_VERSION" Containerfile | cut -d= -f2) - echo "version=${version}" | tee -a "$GITHUB_OUTPUT" + echo "version=v${version}" | tee -a "$GITHUB_OUTPUT" - name: Docker meta id: meta diff --git a/bazel/container/container.sh b/bazel/container/container.sh index 0ca6e7dedc..bcb4f4e95d 100644 --- a/bazel/container/container.sh +++ b/bazel/container/container.sh @@ -15,7 +15,7 @@ function setup { } function startBazelServer { - local containerImage="ghcr.io/edgelesssys/bazel-container:v6.2.1-0" + local containerImage="ghcr.io/edgelesssys/bazel-container:v6.2.1" local containerName="bazeld" setup