Skip to content

Commit

Permalink
Update GitActions to support node 20
Browse files Browse the repository at this point in the history
Node 16 is now deprecated. Updating these means we are on node 20.
  • Loading branch information
brown-a2 committed Jan 30, 2024
1 parent 28e8d23 commit 05de12c
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 05de12c

Please sign in to comment.