Merge pull request #3 from canonical/IAM-517 #3
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: Push (main) | |
# When pushing to the "main" branch, we: | |
# * build the rock image | |
# * publish the image | |
# * scan the image and upload the artifacts to the repository | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "rockcraft.yaml" | |
- ".github/workflows/**.yaml" | |
workflow_dispatch: | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yaml | |
publish: | |
needs: build | |
uses: ./.github/workflows/publish.yaml | |
scan: | |
needs: publish | |
uses: ./.github/workflows/scan.yaml |