Skip to content

Commit

Permalink
test docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ejahnGithub committed May 2, 2024
1 parent 5c00ac0 commit 348b81c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ jobs:
context: .
file: Dockerfile
push: true
tags: ${{ inputs.registry }}/${{ inputs.image_name }}:${{ inputs.image_tag }}
tags: ${{ inputs.registry }}/ejahnGithub/${{ inputs.image_name }}:${{ inputs.image_tag }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ inputs.registry }}/${{ inputs.image_name }}
subject-name: ${{ inputs.registry }}/ejahnGithub/${{ inputs.image_name }}
subject-digest: ${{ steps.docker_build.outputs.digest }}
push-to-registry: true
- name: Generate SBOM attestation
uses: actions/attest-sbom@v1
with:
subject-name: ${{ inputs.registry }}/${{ inputs.image_name }}
subject-name: ${{ inputs.registry }}/ejahnGithub/${{ inputs.image_name }}
subject-digest: ${{ steps.docker_build.outputs.digest }}
sbom-path: "sbom.json"
push-to-registry: true

0 comments on commit 348b81c

Please sign in to comment.