diff --git a/.github/workflows/screening-portal-release-build.yml b/.github/workflows/screening-portal-release-build.yml new file mode 100644 index 000000000..6a6cdef16 --- /dev/null +++ b/.github/workflows/screening-portal-release-build.yml @@ -0,0 +1,24 @@ +name: Screening Portal Build +on: + push: + branches: + - "release/**" + +jobs: + build: + permissions: + contents: read + packages: write + id-token: write + uses: ./.github/workflows/docker-build-template.yml + with: + IMAGE_CONTEXT: src + IMAGE_FILE: src/screening-portal.dockerfile + IMAGE_NAME: ${{ github.repository }}/screening-portal + # REGISTRY: ghcr.io + REGISTRY: artifacts.developer.gov.bc.ca/sfe7-dev/ + secrets: + # REGISTRY_USER: ${{ github.actor }} + # REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + REGISTRY_USER: ${{ secrets.DOCKER_USERNAME }} + REGISTRY_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}