diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 283d859..fef559a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -195,8 +195,8 @@ jobs: # image_scan_result_cos_api_token: ${{ secrets.CONTAINER_IMAGE_SCAN_RESULT_COS_API_KEY }} # fail_if_overdue: ${{ inputs.scan_fail_if_overdue }} - - name: Build and push - id: build-push + - name: Build Image + id: build-image uses: docker/build-push-action@v5 with: # If your Dockerfile is not present in the root directory @@ -226,7 +226,7 @@ jobs: - name: Load OCI Image with Skopeo run: skopeo copy oci:./image.oci docker-daemon:${{ steps.meta.outputs.tags }} - - name: Push Docker image + - name: Push Image uses: docker/build-push-action@v2 with: push: true @@ -235,7 +235,7 @@ jobs: - uses: anchore/sbom-action@v0 if: ${{ inputs.push }} with: - image: ${{ inputs.image }}@${{ steps.build-push.outputs.digest }} + image: ${{ inputs.image }}@${{ steps.push-image.outputs.digest }} - uses: sigstore/cosign-installer@main if: ${{ inputs.push }} @@ -251,6 +251,6 @@ jobs: -a "repo=${{ github.repository }}" \ -a "workflow=${{ github.workflow }}" \ -a "ref=${{ github.sha }}" \ - ${{ inputs.image }}@${{ steps.build-push.outputs.digest }} + ${{ inputs.image }}@${{ steps.push-image.outputs.digest }} env: COSIGN_PASSWORD: ${{ secrets.CONTAINER_IMAGE_SIGNING_PASSWORD }}