Skip to content

Commit

Permalink
Update multiarch.yml
Browse files Browse the repository at this point in the history
Remove SBOM
  • Loading branch information
derskythe authored May 11, 2024
1 parent 37431ee commit c6f0818
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,22 +113,7 @@ jobs:
buildah manifest push --all --format v2s2 --creds ${{ github.actor }}:${{ secrets.DOCKER_PASS }} ${{ env.IMAGE_NAME }}:latest ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
buildah manifest push --all --format v2s2 --creds ${{ github.actor }}:${{ secrets.DOCKER_PASS }} ${{ env.IMAGE_NAME }}:latest ${{ env.DOCKER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}
buildah manifest push --all --creds ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} ${{ env.IMAGE_NAME }}:latest ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
buildah manifest push --all --creds ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} ${{ env.IMAGE_NAME }}:latest ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}
- name: Generate SBOM
uses: anchore/sbom-action@v0
with:
image: ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
format: 'cyclonedx-json'
output-file: 'sbom.cyclonedx.json'

- name: Attest
uses: actions/attest-sbom@v1
id: attest
with:
subject-name: ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}
sbom-path: 'sbom.cyclonedx.json'
push-to-registry: true
buildah manifest push --all --creds ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} ${{ env.sudo apt install shellcheckIMAGE_NAME }}:latest ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}
router:
uses: ./.github/workflows/router.yml
Expand Down

0 comments on commit c6f0818

Please sign in to comment.