Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
reevejd committed Sep 22, 2023
1 parent 137d692 commit e3e0da4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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 }}

0 comments on commit e3e0da4

Please sign in to comment.