Skip to content

Commit

Permalink
Merge pull request #158 from ministryofjustice/update-git-actions-nod…
Browse files Browse the repository at this point in the history
…e-20

Update GitActions to support node 20
  • Loading branch information
brown-a2 authored Feb 2, 2024
2 parents 28e8d23 + 05de12c commit cbac4f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rw-build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,21 @@ jobs:
steps:
# Checkout GitHub repository
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Assume role in Cloud Platform
- name: Config Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.ecr-role }}
aws-region: ${{ secrets.ecr-region }}

# Login to container repository
- name: Login to ECR
uses: aws-actions/amazon-ecr-login@v1
uses: aws-actions/amazon-ecr-login@v2
id: login-ecr
with:
mask-password: true
mask-password: 'true'
- name: Build and Push Nginx Image
run: |
docker build --pull --no-cache --tag $REGISTRY/$REPOSITORY:hale-platform_nginx-$IMAGE_TAG --file nginx.dockerfile .
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
environment: ${{inputs.environment}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Authenticate to the cluster
env:
KUBE_CLUSTER: ${{ secrets.kube-cluster }}
Expand Down

0 comments on commit cbac4f4

Please sign in to comment.