bazel: fix container versioning

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-07-26 12:18:07 +02:00
parent 7776a890d4
commit 342a71fa36
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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