Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to Dockerfile and Actions #75

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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