-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.11 KB
/
dynamics-helper-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
name: Dynamics Helper Build
on:
push:
branches: ["main"]
paths:
- src/**
- "!src/Spd.Presentation.Licensing/**"
- "!src/Spd.Presentation.Screening/**"
- .github/workflows/dynamics-helper-build.yml
- .github/workflows/docker-build-template.yml
pull_request:
branches: ["main"]
paths:
- src/**
- "!src/Spd.Presentation.Licensing/**"
- "!src/Spd.Presentation.Screening/**"
- .github/workflows/dynamics-helper-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/dynamics.dockerfile
IMAGE_NAME: ${{ github.repository }}/dynamics-helper
# 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 }}