File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 group : ${{ github.workflow }}-release-${{ github.ref_name }}
1616 cancel-in-progress : false
1717 environment :
18- name : release
18+ name : release-ecr
1919
2020 steps :
2121 # Use a merge queue to avoid `main` commit race conditions.
3939 run : uv run task build
4040
4141 - name : Release (ECR)
42- run : uv run task release-ecr-no-build
42+ run : uv run task release-ecr-no-build {{.ECR_REPOSITORY_URL}}
Original file line number Diff line number Diff line change 77 DOCKER_IMAGE_TAG :
88 sh : ./scripts/get-version.sh
99 DOCKER_IMAGE : " {{.DOCKER_IMAGE_NAME}}:{{.DOCKER_IMAGE_TAG}}"
10+ ECR_REPOSITORY_URL :
11+ sh : echo $ECR_REPOSITORY_URL
1012
1113tasks :
1214 default :
@@ -83,10 +85,10 @@ tasks:
8385 deps :
8486 - build
8587 cmds :
86- - ./scripts/release-ecr.sh
88+ - ./scripts/release-ecr.sh {{.ECR_REPOSITORY_URL}}
8789
8890 release-ecr-no-build :
8991 desc : Release the Docker image to ECR without building it first
9092 run : once
9193 cmds :
92- - ./scripts/release-ecr.sh
94+ - ./scripts/release-ecr.sh {{.ECR_REPOSITORY_URL}}
Original file line number Diff line number Diff line change 22
33set -euo pipefail
44
5- ECR_REPOSITORY_URL=" ${1 :- $ECR_REPOSITORY_URL } "
5+ ECR_REPOSITORY_URL=" $1 "
66
77IMAGE_NAME=" $( echo " $ECR_REPOSITORY_URL " | cut -d ' /' -f 2) "
88IMAGE_TAG=" $( ./scripts/get-version.sh) "
You can’t perform that action at this time.
0 commit comments