Skip to content

Commit

Permalink
initial workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryBoot committed Feb 24, 2024
1 parent 9465cc3 commit 99666da
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build-scan
on:
push:
branches:
- main
- develop
- devops-update

permissions:
contents: read
packages: write
security-events: write

jobs:
build:
uses: ablockofficial/workflows/.github/workflows/build.yml@main
with:
REGISTRY: ${{ vars.REGISTRY }}
REPOSITORY: ${{ vars.REPOSITORY }}
scan-image:
uses: ablockofficial/workflows/.github/workflows/scan-image.yml@main
secrets: inherit
needs: build
with:
IMAGE: ${{ vars.REGISTRY }}/${{ vars.REPOSITORY }}:${{ github.sha }}

0 comments on commit 99666da

Please sign in to comment.