Skip to content

Commit 60dc9fa

Browse files
committed
try sed instead
1 parent 42f3aad commit 60dc9fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ 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=${{matrix.architecture//-/\/}}" >> $GITHUB_ENV
46+
echo "platform=$(echo $ARCHITECTURE | sed 's/-/\//g')" >> $GITHUB_ENV
4747
echo "cache=${GITHUB_REPOSITORY,,}:${{ github.ref_name }}-cache-${{ matrix.architecture }}${{ github.event.inputs.tag }}" >> $GITHUB_ENV
4848
echo "tag=${GITHUB_REPOSITORY,,}:${{ github.ref_name }}-${GITHUB_SHA:0:7}-${GITHUB_RUN_NUMBER}-${{ matrix.architecture }}${{ github.event.inputs.tag }}" >> $GITHUB_ENV
4949
echo "release=${{ github.event.release.target_commitish }}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)