File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -40,27 +40,20 @@ jobs:
40
40
- name : Set up Docker Buildx
41
41
uses : docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
42
42
43
- - name : Log in to the Container registry
44
- uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
45
- with :
46
- registry : ${{ env.REGISTRY }}
47
- username : ${{ github.actor }}
48
- password : ${{ secrets.GITHUB_TOKEN }}
49
-
50
- - name : Build Initial Container ${{ inputs.container-name }}
43
+ - name : Build Initial Container
51
44
uses : docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
52
45
id : build
53
46
with :
54
47
file : " ${{ inputs.container-file }}"
55
48
context : .
56
- tags : ${{ inputs.container-name }} :latest
49
+ tags : localbuild/testimage :latest
57
50
58
51
# Scan the image for vulnerabilities
59
52
- name : Run the Anchore / Grype scan action
60
53
uses : anchore/scan-action@f2ba85e044c8f5e5014c9a539328a9c78d3bfa49 # v5.2.1
61
54
id : scan
62
55
with :
63
- image : " ${{ inputs.container-name }} :latest"
56
+ image : localbuild/testimage :latest
64
57
only-fixed : true
65
58
fail-build : ${{ inputs.scanning-block }}
66
59
You can’t perform that action at this time.
0 commit comments