File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
specification/api/components/x-nhsd-apim Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 7171 run : |
7272 make build-json-oas-spec APIM_ENV=sandbox
7373
74+ - name : Set docker tag
75+ shell : bash
76+ run : |
77+ jq --arg newtag "${{ inputs.version }}" '.["x-nhsd-apim"].target.containers[0].image.tag = $newtag' build/notify-supplier.json > build/notify-supplier_target.json && mv build/notify-supplier_target.json build/notify-supplier.json
78+
7479 - name : Deploy to Internal Dev Sandbox
7580 shell : bash
7681 run : |
Original file line number Diff line number Diff line change 5252 working-directory : ./sandbox
5353 run : |
5454 proxygen docker get-login | bash
55- docker build -t nhs-notify-supplier:latest .
56- IMAGE_ID=$(docker images -q nhs-notify-supplier:latest )
57- docker tag $IMAGE_ID 958002497996.dkr.ecr.eu-west-2.amazonaws.com/nhs-notify-supplier:latest
58- docker push 958002497996.dkr.ecr.eu-west-2.amazonaws.com/nhs-notify-supplier:latest
55+ docker build -t nhs-notify-supplier:${{ inputs.version }} .
56+ IMAGE_ID=$(docker images -q nhs-notify-supplier:${{ inputs.version }} )
57+ docker tag $IMAGE_ID 958002497996.dkr.ecr.eu-west-2.amazonaws.com/nhs-notify-supplier:${{ inputs.version }}
58+ docker push 958002497996.dkr.ecr.eu-west-2.amazonaws.com/nhs-notify-supplier:${{ inputs.version }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ containers:
44 - name : nhs-notify-supplier
55 image :
66 name : nhs-notify-supplier
7- tag : latest
7+ tag : pr99
88 environment :
99 LOG_LEVEL : info
1010 NODE_ENV : development
You can’t perform that action at this time.
0 commit comments