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