Skip to content

Commit 25abcbb

Browse files
authored
Merge pull request #12 from bcgov/chore/update-image
Update Node image, github actions
2 parents fc8d0c7 + d181ffa commit 25abcbb

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# the repo. Unless a later match takes precedence,
66
# These owners will be requested for
77
# review when someone opens a pull request.
8-
* @TimCsaky @jujaga @loneil
8+
* @kyle1morel @TimCsaky @wilwong89 @jatindersingh93 @norrisng-bc

.github/actions/build-push-container/action.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
using: composite
3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434

3535
- name: Parse Input Values
3636
shell: bash
@@ -39,23 +39,23 @@ runs:
3939
echo "HAS_DOCKERHUB=${{ fromJson(inputs.dockerhub_username != '' && inputs.dockerhub_token != '') }}" >> $GITHUB_ENV
4040
4141
- name: Login to Github Container Registry
42-
uses: docker/login-action@v2
42+
uses: docker/login-action@v3
4343
with:
4444
registry: ghcr.io
4545
username: ${{ env.GH_USERNAME }}
4646
password: ${{ inputs.github_token }}
4747

4848
- name: Login to Dockerhub Container Registry
4949
if: env.HAS_DOCKERHUB == 'true'
50-
uses: docker/login-action@v2
50+
uses: docker/login-action@v3
5151
with:
5252
registry: docker.io
5353
username: ${{ inputs.dockerhub_username }}
5454
password: ${{ inputs.dockerhub_token }}
5555

5656
- name: Prepare Container Metadata tags
5757
id: meta
58-
uses: docker/metadata-action@v4
58+
uses: docker/metadata-action@v5
5959
with:
6060
images: |
6161
ghcr.io/${{ env.GH_USERNAME }}/${{ inputs.image_name }}
@@ -74,7 +74,7 @@ runs:
7474
7575
- name: Build and Push to Container Registry
7676
id: builder
77-
uses: docker/build-push-action@v3
77+
uses: docker/build-push-action@v5
7878
with:
7979
context: ${{ inputs.context }}
8080
push: true

.github/workflows/on-pr-opened.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
timeout-minutes: 10
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
- name: Build & Push
2929
uses: ./.github/actions/build-push-container
3030
with:

.github/workflows/on-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
timeout-minutes: 10
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
- name: Build & Push
2626
uses: ./.github/actions/build-push-container
2727
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# We want to stick with the lts-alpine tag, but need to ensure we explicitly track base images
22
# FROM docker.io/node:lts-alpine
3-
FROM docker.io/node:20.9.0-alpine
3+
FROM docker.io/node:20.11.1-alpine
44

55
ARG APP_ROOT=/opt/app-root/src
66
ENV NO_UPDATE_NOTIFIER=true \

0 commit comments

Comments
 (0)