Skip to content

Commit

Permalink
Merge pull request #229 from ministryofjustice/deployment_staging_update
Browse files Browse the repository at this point in the history
Update action.yml
  • Loading branch information
rohanssalunkhe committed Aug 7, 2024
2 parents 17a818e + f90bd9d commit 4f2969e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,16 @@ jobs:
aws-region: ${{ vars.ECR_REGION }}
- uses: aws-actions/amazon-ecr-login@v2
id: login-ecr

- name: Build and push docker image
uses: docker/build-push-action@v5
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: ${{ vars.ECR_REPOSITORY }}
with:
tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}
push: true

- name: Authenticate to the K8 cluster
run: |
mkdir deployments
Expand Down

0 comments on commit 4f2969e

Please sign in to comment.