Skip to content

Commit 25813d2

Browse files
committed
👷 Github Action file gen path handling experiment
1 parent c624a0e commit 25813d2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/dev.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ jobs:
5555
run: bundle install
5656

5757
- name: 'Run file generation'
58-
run: bash build.sh --dir build/standard --version dev
58+
id: file-gen
59+
run: |
60+
bash build.sh --dir build/standard --version dev
61+
echo "PATH=$(pwd)/build/standard" >> $GITHUB_OUTPUT
5962
6063
- name: 'Set up QEMU'
6164
uses: docker/setup-qemu-action@v3
@@ -76,7 +79,7 @@ jobs:
7679
uses: docker/build-push-action@v6
7780
with:
7881
platforms: linux/amd64,linux/arm64
79-
file: build/standard/docker/Dockerfile
82+
file: ${{ steps.file-gen.outputs.PATH }}/docker/Dockerfile
8083
build-args: |
8184
CONTAINER_VERSION=${{ github.ref_name }}
8285
IMAGE_NAME=${{ env.IMAGE_NAME }}

0 commit comments

Comments
 (0)