Release Self-Hosted Images #33
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: Release Self-Hosted Images | |
on: | |
workflow_dispatch: | |
inputs: | |
tag_latest: | |
description: "Tag images as latest" | |
type: boolean | |
default: false | |
required: true | |
push: | |
branches: | |
- main | |
paths: | |
- "crates/model/src/migrations.rs" | |
jobs: | |
release_backend: | |
uses: ./.github/workflows/release_local_backend.yml | |
with: | |
# Do not tag docker images triggered by migrations as latest. | |
tag_latest: ${{ github.event_name == 'workflow_dispatch' && inputs.tag_latest || false }} | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
release_dashboard: | |
uses: ./.github/workflows/release_local_dashboard.yml | |
with: | |
# Do not tag docker images triggered by migrations as latest. | |
tag_latest: ${{ github.event_name == 'workflow_dispatch' && inputs.tag_latest || false }} | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
test_backend: | |
needs: release_backend | |
uses: ./.github/workflows/test_self_hosted_backend.yml | |
with: | |
git_sha: ${{ github.sha }} |