File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,27 +40,20 @@ jobs:
4040 - name : Set up Docker Buildx
4141 uses : docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
4242
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
5144 uses : docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
5245 id : build
5346 with :
5447 file : " ${{ inputs.container-file }}"
5548 context : .
56- tags : ${{ inputs.container-name }} :latest
49+ tags : localbuild/testimage :latest
5750
5851 # Scan the image for vulnerabilities
5952 - name : Run the Anchore / Grype scan action
6053 uses : anchore/scan-action@f2ba85e044c8f5e5014c9a539328a9c78d3bfa49 # v5.2.1
6154 id : scan
6255 with :
63- image : " ${{ inputs.container-name }} :latest"
56+ image : localbuild/testimage :latest
6457 only-fixed : true
6558 fail-build : ${{ inputs.scanning-block }}
6659
You can’t perform that action at this time.
0 commit comments