File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 35
35
username : ${{ secrets.DOCKER_USERNAME }}
36
36
password : ${{ secrets.DOCKER_PASSWORD }}
37
37
38
+ - name : Get version branch
39
+ id : version-branch
40
+ run : echo "::set-output name=name::v$(jq .version package.json)"
41
+
42
+ - name : Download artifact
43
+ uses : dawidd6/action-download-artifact@v2
44
+ id : download
45
+ with :
46
+ branch : v${{ steps.version-branch.outputs.name }}
47
+ workflow_conclusion : completed
48
+ name : " release-packages"
49
+ path : release-packages
50
+
38
51
- name : Run ./ci/steps/docker-buildx-push.sh
39
52
run : ./ci/steps/docker-buildx-push.sh
40
53
env :
Original file line number Diff line number Diff line change @@ -4,12 +4,9 @@ set -euo pipefail
4
4
main () {
5
5
cd " $( dirname " $0 " ) /../.."
6
6
7
- # ci/lib.sh sets VERSION and provides download_artifact here
8
- source ./ci/lib.sh
9
-
10
- # Download the release-packages artifact
11
- download_artifact release-packages ./release-packages
12
-
7
+ # NOTE@jsjoeio - this script assumes that you've downloaded
8
+ # the release-packages artifact to ./release-packages before
9
+ # running this docker buildx step
13
10
docker buildx bake -f ci/release-image/docker-bake.hcl --push
14
11
}
15
12
You can’t perform that action at this time.
0 commit comments