Skip to content

Merge pull request #4 from AIBlockOfficial/update-workflow #7

Merge pull request #4 from AIBlockOfficial/update-workflow

Merge pull request #4 from AIBlockOfficial/update-workflow #7

Workflow file for this run

name: build-scan
on:
push:
branches:
- main
- develop
permissions:
contents: read
packages: write
security-events: write
env:
CARGO_TERM_COLOR: always
jobs:
build:
uses: aiblockofficial/workflows/.github/workflows/build.yml@main
with:
REGISTRY: ${{ vars.REGISTRY }}
REPOSITORY: ${{ vars.REPOSITORY }}
scan-image:
uses: aiblockofficial/workflows/.github/workflows/scan-image.yml@main
secrets: inherit
needs: build
with:
IMAGE: ${{ vars.REGISTRY }}/${{ vars.REPOSITORY }}:${{ github.sha }}