-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.13 KB
/
licensing-portal-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Licensing Portal Build
on:
push:
branches:
- main
paths:
- src/**
- '!src/Spd.Presentation.Dynamics/**'
- '!src/Spd.Presentation.Screening/**'
- .github/workflows/licensing-portal-build.yml
- .github/workflows/docker-build-template.yml
pull_request:
branches: ["main"]
paths:
- src/**
- '!src/Spd.Presentation.Dynamics/**'
- '!src/Spd.Presentation.Screening/**'
- .github/workflows/licensing-portal-build.yml
- .github/workflows/docker-build-template.yml
jobs:
build:
permissions:
contents: read
packages: write
id-token: write
uses: ./.github/workflows/docker-build-template.yml
with:
IMAGE_CONTEXT: src
IMAGE_FILE: src/licensing-portal.dockerfile
IMAGE_NAME: ${{ github.repository }}/licensing-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 }}