File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -616,7 +616,7 @@ steps:
616616
617617 - group : Docker
618618 key : docker-artifacts
619- if : build.env("RELEASE_CANDIDATE") != null || build.tag =~ /^v20/
619+ if : build.env("RELEASE_CANDIDATE") != null
620620 depends_on :
621621 - linux-artifacts
622622 steps :
@@ -630,7 +630,9 @@ steps:
630630 key : docker-build
631631 depends_on : docker-build-block
632632 commands :
633- ./scripts/buildkite/release/docker-build.sh
633+ ./scripts/buildkite/main/docker-build.sh
634+ artifact_paths :
635+ - ./artifacts/*.tgz
634636 agents :
635637 system : x86_64-linux
636638
Original file line number Diff line number Diff line change 1- #! /usr/bin/env -S nix shell --command bash
2- # shellcheck shell=bash
1+ #! /bin/bash
32
43set -euox pipefail
54
65git fetch --all
76
87RELEASE_CANDIDATE_COMMIT=$( buildkite-agent meta-data get " release-candidate-commit" )
8+ RELEASE_VERSION=$( buildkite-agent meta-data get " release-version" )
99
1010git checkout " $RELEASE_CANDIDATE_COMMIT "
1111
1212mkdir -p result
1313
14- nix build . # dockerImage -o result/docker-image
14+ mkdir -p artifacts
1515
16- docker load < result/docker-image
16+ TARGET=" artifacts/cardano-wallet-$RELEASE_VERSION -docker-image.tgz"
17+
18+ nix build .# dockerImage -o "$TARGET"
19+
20+ docker load < " $TARGET "
You can’t perform that action at this time.
0 commit comments