Commit 9024ed5 1 parent debea38 commit 9024ed5 Copy full SHA for 9024ed5
File tree 2 files changed +2
-22
lines changed
2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -47,21 +47,11 @@ jobs:
47
47
kubectl config set-context ${KUBE_CLUSTER} --cluster=${KUBE_CLUSTER} --user=deploy-user --namespace=${KUBE_NAMESPACE}
48
48
kubectl config use-context ${KUBE_CLUSTER}
49
49
50
- - name : Assume role in Cloud Platform
51
- uses : aws-actions/configure-aws-credentials@v4
52
- with :
53
- role-to-assume : ${{ secrets.ECR_ROLE_TO_ASSUME }}
54
- aws-region : ${{ inputs.ECR_REGION }}
55
-
56
- - name : Login to container registry
57
- id : login-ecr
58
- uses : aws-actions/amazon-ecr-login@v2
59
-
60
50
- name : Upgrade the Helm chart
61
51
env :
62
52
IMAGE_TAG : ${{ github.sha }}
53
+ REGISTRY : ${{ secrets.ECR_REGISTRY }}
63
54
REPOSITORY : ${{ inputs.ECR_REPOSITORY }}
64
- REGISTRY : ${{ steps.login-ecr.outputs.registry }}
65
55
HELM_DIR : " helm_deploy/laa-access-civil-legal-aid"
66
56
DEV_HOST : " access-cla.cloud-platform.service.justice.gov.uk"
67
57
# head_ref is set if the workflow was triggered by a PR, ref_name is used if the workflow was trigged by a push.
Original file line number Diff line number Diff line change @@ -47,21 +47,11 @@ jobs:
47
47
kubectl config set-context ${KUBE_CLUSTER} --cluster=${KUBE_CLUSTER} --user=deploy-user --namespace=${KUBE_NAMESPACE}
48
48
kubectl config use-context ${KUBE_CLUSTER}
49
49
50
- - name : Assume role in Cloud Platform
51
- uses : aws-actions/configure-aws-credentials@v4
52
- with :
53
- role-to-assume : ${{ secrets.ECR_ROLE_TO_ASSUME }}
54
- aws-region : ${{ inputs.ECR_REGION }}
55
-
56
- - name : Login to container registry
57
- id : login-ecr
58
- uses : aws-actions/amazon-ecr-login@v2
59
-
60
50
- name : Upgrade the Helm chart
61
51
env :
62
52
IMAGE_TAG : ${{ github.sha }}
53
+ REGISTRY : ${{ secrets.ECR_REGISTRY }}
63
54
REPOSITORY : ${{ inputs.ECR_REPOSITORY }}
64
- REGISTRY : ${{ steps.login-ecr.outputs.registry }}
65
55
HELM_DIR : " helm_deploy/laa-access-civil-legal-aid"
66
56
run : |
67
57
helm upgrade laa-access-civil-legal-aid \
You can’t perform that action at this time.
0 commit comments