-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.29 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
40
41
42
43
44
45
name: Dynamics Helper Build
on:
workflow_dispatch:
push:
branches:
- main
- 'release/**'
paths:
- src/**
- "!src/Spd.Presentation.Licensing/**"
- "!src/Spd.Presentation.Screening/**"
- "!src/Spd.Manager.Licence/**"
- "!src/Spd.Manager.Screening/**"
- .github/workflows/dynamics-helper-build.yml
- .github/workflows/docker-build-template.yml
pull_request:
paths:
- src/**
- "!src/Spd.Presentation.Licensing/**"
- "!src/Spd.Presentation.Screening/**"
- "!src/Spd.Manager.Licence/**"
- "!src/Spd.Manager.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 }}