Skip to content

Commit

Permalink
Updates to Dockerfile and Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpnelson authored Oct 31, 2024
1 parent 7e16c04 commit 3a81f17
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build-deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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
Expand Down Expand Up @@ -70,7 +70,3 @@ jobs:
DOCKER_REGISTRY: 'docker.pkg.github.com'
PR_REVIEWERS: '["michaelpnelson"]'
PR_MENTIONS: '["michaelpnelson"]'




4 changes: 2 additions & 2 deletions .github/workflows/deploy_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3a81f17

Please sign in to comment.