File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 88build :
99 docker compose -f docker-compose.yaml build
1010
11+ tag-service-image :
12+ $(eval IMAGE_ID=$(shell docker images -q sandbox-combined-service:latest) )
13+ @if [ -z " $( IMAGE_ID) " ]; then \
14+ echo " ERROR: No image ID found for sandbox-combined-service:latest. Did you build it?" ; \
15+ exit 1; \
16+ fi
17+ docker tag $(IMAGE_ID ) 958002497996.dkr.ecr.eu-west-2.amazonaws.com/eligibility-signposting-api:latest
18+ @echo " Tagged image $( IMAGE_ID) as 958002497996.dkr.ecr.eu-west-2.amazonaws.com/eligibility-signposting-api:latest"
19+
20+ build-and-tag :
21+ make build
22+ make tag-service-image
23+
24+ proxygen-docker-login : # Login to Proxygen Docker registry
25+ make -C .. setup-proxygen-credentials
26+ proxygen docker get-login | bash
27+
28+ publish-to-docker-repo :
29+ proxygen-docker-login
30+ docker push 958002497996.dkr.ecr.eu-west-2.amazonaws.com/eligibility-signposting-api:latest
31+
32+ build-and-publish-sandbox-image :
33+ make build-and-tag
34+ make publish-to-docker-repo
35+
36+ deploy-sandbox-spec :
37+ make -C .. construct-spec APIM_ENV=sandbox
38+ proxygen instance deploy sandbox eligibility-signposting-api ./build/specification/sandbox/eligibility-signposting-api.yaml
39+
1140up : build
1241 docker compose -f docker-compose.yaml up -d
1342
You can’t perform that action at this time.
0 commit comments