Skip to content

Merge pull request #48 from canonical/fix-publish-action #37

Merge pull request #48 from canonical/fix-publish-action

Merge pull request #48 from canonical/fix-publish-action #37

Workflow file for this run

name: Push (main|track)
# 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
- track/**
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