Upped cosign to latest #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: No Ecosystem with ephemeral keyless Github Token Salsa Action | |
on: [ push ] | |
env: | |
IMAGE: ttl.sh/salsa/noecosystemtestapp:1h | |
CONTEXT: ci/no-ecosystem | |
jobs: | |
build-no-ecosystem: | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v4 | |
with: | |
push: true | |
tags: ${{ env.IMAGE }} | |
context: ./${{ env.CONTEXT }} | |
- name: Generate, sign and upload SBOM | |
uses: ./ | |
with: | |
image: ${{ env.IMAGE }}@${{ steps.docker_build.outputs.digest }} | |
build-context: ${{ env.CONTEXT }} |