From 14fab8701742f4992ff5e81403a2049933579639 Mon Sep 17 00:00:00 2001 From: Sahil Ahuja Date: Mon, 10 Feb 2025 21:03:43 +0530 Subject: [PATCH] Push base image to test --- .github/workflows/push-container-base.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-container-base.yml b/.github/workflows/push-container-base.yml index bd5ecd5..763f007 100644 --- a/.github/workflows/push-container-base.yml +++ b/.github/workflows/push-container-base.yml @@ -44,6 +44,9 @@ jobs: 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 }}"; + - name: Push the container image + run: docker push ${{ steps.get-id.outputs.DOCKER_IMAGE }} + - name: Scan Docker Image for vulnerabilities with Grype uses: anchore/scan-action@v6 with: @@ -54,5 +57,3 @@ jobs: severity-cutoff: critical fail-build: true - - name: Push the container image - run: docker push ${{ steps.get-id.outputs.DOCKER_IMAGE }}