WIP: Can we use a variable here? #2063
Workflow file for this run
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: Veracruz-CI | ||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the main branch | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
env: | ||
WASMTIME_VERSION: v9.0.4 | ||
IMAGE: 'ghcr.io/veracruz-project/veracruz/ci@sha256:dd434df33153bd8915859eb0f280270d2cdf07d6100ef4332bcd18c5e8525068' | ||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install cosign | ||
# https://github.com/sigstore/cosign-installer | ||
uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # v2.8.1 | ||
with: | ||
cosign-release: "v1.13.1" | ||
- name: Check image signature | ||
id: cosign-verify | ||
run: | | ||
COSIGN_EXPERIMENTAL=true cosign verify \ | ||
ghcr.io/veracruz-project/veracruz/ci@sha256:dd434df33153bd8915859eb0f280270d2cdf07d6100ef4332bcd18c5e8525068 | ||
env: IMAGE: xx | ||
linux: | ||
runs-on: ubuntu-latest | ||
needs: [check] | ||
outputs: | ||
output: ${{ steps.check-diff.outputs.cargo-lock }} | ||
env: IMAGE: xx | ||
container: | ||
env: IMAGE: xx | ||
image: ${{ env.IMAGE }} | ||
volumes: | ||
- ${{ github.workspace }}:/work/veracruz | ||
steps: | ||
- name: Test | ||
id: test | ||
run: | | ||
echo Done |