Skip to content

Commit 93023ee

Browse files
committed
create if statement, fix invalid architecture
1 parent 76214f0 commit 93023ee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/docker-publish-tag.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ jobs:
6969
- name: Add latest if Alpine
7070
id: addlatest
7171
run: |
72-
[[ ${{ matrix.distro }} == "alpine" ]] && echo "::set-output name=latest::latest"
72+
if [ "${{ matrix.distro }}" == "alpine" ]; then
73+
echo "::set-output name=latest::latest"
74+
fi
7375
7476
# Extract metadata (tags, labels) for Docker
7577
# https://github.com/docker/metadata-action
@@ -100,4 +102,4 @@ jobs:
100102
build-args: |
101103
RCLONE_VERSION=${{ steps.v_rclone.outputs.version }}
102104
MERGERFS_VERSION=2.33.0
103-
platforms: linux-amd64
105+
platforms: linux/amd64

0 commit comments

Comments
 (0)