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 }}