We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6438d75 commit 0756399Copy full SHA for 0756399
.github/workflows/build-docker.yml
@@ -3,6 +3,11 @@ name: Build and publish scs-compliance-check Docker image
3
'on':
4
# Allows you to run this workflow manually from the Actions tab
5
workflow_dispatch:
6
+ push:
7
+ branches:
8
+ - main
9
+ paths:
10
+ - 'Tests/**'
11
12
env:
13
REGISTRY: ghcr.io
@@ -31,6 +36,10 @@ jobs:
31
36
uses: docker/metadata-action@v5
32
37
with:
33
38
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
39
+ tags: |
40
+ type=raw,value=latest
41
+ type=ref,event=branch
42
+ type=sha
34
43
35
44
- name: Build and push Docker image
45
uses: docker/build-push-action@v5
0 commit comments