Push base image to test
This commit is contained in:
parent
ade5e88991
commit
14fab87017
5
.github/workflows/push-container-base.yml
vendored
5
.github/workflows/push-container-base.yml
vendored
@ -44,6 +44,9 @@ jobs:
|
|||||||
IMAGE_SIZE=`docker inspect -f "{{ .Size }}" ${{ steps.get-id.outputs.DOCKER_IMAGE }} | numfmt --to=si`;
|
IMAGE_SIZE=`docker inspect -f "{{ .Size }}" ${{ steps.get-id.outputs.DOCKER_IMAGE }} | numfmt --to=si`;
|
||||||
echo "$IMAGE_SIZE container ${{ steps.get-id.outputs.DOCKER_IMAGE }}";
|
echo "$IMAGE_SIZE container ${{ steps.get-id.outputs.DOCKER_IMAGE }}";
|
||||||
|
|
||||||
|
- name: Push the container image
|
||||||
|
run: docker push ${{ steps.get-id.outputs.DOCKER_IMAGE }}
|
||||||
|
|
||||||
- name: Scan Docker Image for vulnerabilities with Grype
|
- name: Scan Docker Image for vulnerabilities with Grype
|
||||||
uses: anchore/scan-action@v6
|
uses: anchore/scan-action@v6
|
||||||
with:
|
with:
|
||||||
@ -54,5 +57,3 @@ jobs:
|
|||||||
severity-cutoff: critical
|
severity-cutoff: critical
|
||||||
fail-build: true
|
fail-build: true
|
||||||
|
|
||||||
- name: Push the container image
|
|
||||||
run: docker push ${{ steps.get-id.outputs.DOCKER_IMAGE }}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user