updated actions #358
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |