Skip to content

Commit 2bf40b4

Browse files
committed
Try setting in a separate step
1 parent 60dc9fa commit 2bf40b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docker-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ jobs:
4343
echo "vendor=${{ github.repository_owner }}" >> $GITHUB_ENV
4444
echo "url=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY,,}/blob/master/README.md" >> $GITHUB_ENV
4545
echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
46-
echo "platform=$(echo $ARCHITECTURE | sed 's/-/\//g')" >> $GITHUB_ENV
4746
echo "cache=${GITHUB_REPOSITORY,,}:${{ github.ref_name }}-cache-${{ matrix.architecture }}${{ github.event.inputs.tag }}" >> $GITHUB_ENV
4847
echo "tag=${GITHUB_REPOSITORY,,}:${{ github.ref_name }}-${GITHUB_SHA:0:7}-${GITHUB_RUN_NUMBER}-${{ matrix.architecture }}${{ github.event.inputs.tag }}" >> $GITHUB_ENV
4948
echo "release=${{ github.event.release.target_commitish }}" >> $GITHUB_ENV
50-
49+
- name: Set platform
50+
run: |
51+
echo "platform=$(echo $ARCHITECTURE | sed 's/-/\//g')" >> $GITHUB_ENV
5152
- name: Set up QEMU
5253
uses: docker/[email protected]
5354

0 commit comments

Comments
 (0)