-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.16 KB
/
egress-ui-container.yaml
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
name: Egress UI Container
on:
pull_request:
paths:
- 'src/Data-Egress-UI/**'
- 'src/BL/**'
push:
branches:
- main
paths:
- 'src/Data-Egress-UI/**'
- 'src/BL/**'
permissions:
contents: write
pull-requests: read
actions: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
egress-ui-container:
uses: SwanseaUniversityMedical/workflows/.github/workflows/pr-and-release-container.yaml@v1.4.2-containers
with:
job-name: egress-ui-container
registry: ${{ vars.HARBOR_REGISTRY }}
registry-user: ${{ vars.HARBOR_USER }}
registry-repo: ${{ vars.HARBOR_PROJECT }}/${{ vars.HARBOR_REPO }}-egress-ui
release-tag-format: 'DARE-Egress-UI-Container-${version}'
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }}
slack-channel: ${{ vars.SLACK_CHANNEL }}
build-file: src/Data-Egress-UI/Dockerfile
build-context: src
secrets:
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }}
cosign-password: ${{ secrets.COSIGN_PASSWORD }}
registry-token: ${{ secrets.HARBOR_TOKEN }}
slack-token: ${{ secrets.SLACK_TOKEN }}