diff --git a/.github/workflows/build-deploy-dev.yaml b/.github/workflows/build-deploy-dev.yaml index 9fdf47a..f56aefc 100644 --- a/.github/workflows/build-deploy-dev.yaml +++ b/.github/workflows/build-deploy-dev.yaml @@ -27,9 +27,9 @@ jobs: run: shell: bash - name: 'Build BCDC-SMK container image' + name: 'Build SMK container image' # The type of runner that the job will run on - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: OPENSHIFT_SERVER_URL: ${{secrets.OPENSHIFT_SERVER_URL}} OPENSHIFT_TOKEN_DEV: ${{secrets.OPENSHIFT_TOKEN_DEV}} @@ -40,7 +40,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 if: env.OPENSHIFT_SERVER_URL != '' && env.OPENSHIFT_TOKEN_DEV != '' && env.GHCR_USER != '' && env.GHCR_TOKEN != '' # && env.DEBUG_DEPLOY == 'false' id: checkout @@ -70,7 +70,3 @@ jobs: DOCKER_REGISTRY: 'docker.pkg.github.com' PR_REVIEWERS: '["michaelpnelson"]' PR_MENTIONS: '["michaelpnelson"]' - - - - diff --git a/.github/workflows/deploy_prod.yaml b/.github/workflows/deploy_prod.yaml index 3444d82..d5625b1 100644 --- a/.github/workflows/deploy_prod.yaml +++ b/.github/workflows/deploy_prod.yaml @@ -26,7 +26,7 @@ jobs: defaults: run: shell: bash - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: OPENSHIFT_SERVER_URL: ${{secrets.OPENSHIFT_SERVER_URL}} OPENSHIFT_TOKEN_DEV: ${{secrets.OPENSHIFT_TOKEN_DEV}} @@ -36,7 +36,7 @@ jobs: steps: # CHECKOUT THE CODE - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 id: checkout if: env.OPENSHIFT_SERVER_URL != '' && env.OPENSHIFT_TOKEN_DEV != '' && env.GHCR_USER != '' && env.GHCR_TOKEN != '' with: diff --git a/Dockerfile b/Dockerfile index 05d68c8..c794da4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # stage 1: use npm to install dependencies into node_modules # directory -FROM node:alpine3.12 AS BUILD_IMAGE +FROM node:alpine3.20 AS BUILD_IMAGE #RUN ls -la / && ls -la /srv && mkdir /srv WORKDIR /srv