Skip to content

updated actions

updated actions #358

name: Build Efiling Frontend Image and Push to Openshift Registry
on:
push:
branches: [artifactory]
paths:
- "src/frontend/efiling-frontend/**"
- ".github/workflows/dev-efiling-frontend-build.yaml"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to Artifactory
uses: docker/login-action@v1
with:
registry: artifacts.developer.gov.bc.ca
username: ${{ secrets.EFILING_ARTIFACTORY_USERNAME }}
password: ${{ secrets.EFILING_ARTIFACTORY_PASSWORD }}
- name: Build Image
run: |
docker compose build efiling-frontend
docker tag jag-file-submission-efiling-frontend artifacts.developer.gov.bc.ca/efc7-efiling-frontend/efiling-frontend:dev
- name: Docker Push to Artifactory
run: |
docker push artifacts.developer.gov.bc.ca/efc7-efiling-frontend/efiling-frontend:dev