Skip to content

Commit e17fa0f

Browse files
committed
fix dry-run release
1 parent ca2eb87 commit e17fa0f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,17 +387,17 @@ jobs:
387387
run: |
388388
set -euxo pipefail
389389
390-
# build Docker images for each architecture
391-
version="$(./scripts/version.sh)"
392-
make build/coder_"$version"_linux_{amd64,arm64,armv7}.tag
393-
394390
# we can't build multi-arch if the images aren't pushed, so quit now
395391
# if dry-running
396392
if [[ "$CODER_RELEASE" != *t* ]]; then
397393
echo Skipping multi-arch docker builds due to dry-run.
398394
exit 0
399395
fi
400396
397+
# build Docker images for each architecture
398+
version="$(./scripts/version.sh)"
399+
make build/coder_"$version"_linux_{amd64,arm64,armv7}.tag
400+
401401
# build and push multi-arch manifest, this depends on the other images
402402
# being pushed so will automatically push them.
403403
make push/build/coder_"$version"_linux.tag

0 commit comments

Comments
 (0)