From fc02bf0acad4733ccceb99311cb6535f28e50c58 Mon Sep 17 00:00:00 2001 From: Christian Haudum Date: Wed, 22 Jan 2025 15:08:02 +0100 Subject: [PATCH] fixup! chore: Build docker images "natively" on dedicated amd/arm runners Signed-off-by: Christian Haudum --- .github/workflows/release-pr.yml | 2 +- .github/workflows/test-release-pr.yml | 2 +- workflows/build.libsonnet | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index d4cfbc07..83b3ce2e 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -178,7 +178,7 @@ jobs: - id: "platform" name: "Parse image platform" run: | - mkdir -p release/images + mkdir -p images platform="$(echo "${{ matrix.arch }}" | sed "s/\(.*\)\/\(.*\)/\1-\2/")" echo "platform=${platform}" >> $GITHUB_OUTPUT diff --git a/.github/workflows/test-release-pr.yml b/.github/workflows/test-release-pr.yml index 82b0be2b..6253d141 100644 --- a/.github/workflows/test-release-pr.yml +++ b/.github/workflows/test-release-pr.yml @@ -178,7 +178,7 @@ jobs: - id: "platform" name: "Parse image platform" run: | - mkdir -p release/images + mkdir -p images platform="$(echo "${{ matrix.arch }}" | sed "s/\(.*\)\/\(.*\)/\1-\2/")" echo "platform=${platform}" >> $GITHUB_OUTPUT diff --git a/workflows/build.libsonnet b/workflows/build.libsonnet index 1b64710f..47f357a2 100644 --- a/workflows/build.libsonnet +++ b/workflows/build.libsonnet @@ -36,7 +36,7 @@ local runner = import 'runner.libsonnet', releaseStep('Parse image platform') + step.withId('platform') + step.withRun(||| - mkdir -p release/images + mkdir -p images platform="$(echo "${{ matrix.arch }}" | sed "s/\(.*\)\/\(.*\)/\1-\2/")" echo "platform=${platform}" >> $GITHUB_OUTPUT