10x the spam we are doing on dusk-7 for testing purposes #40
Workflow file for this run
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: Docker | |
# Trigger on pushes to master branch, new semantic version tags, and pull request updates | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: Git branch, or tag to build from. | |
required: false | |
target: | |
description: Target to build. | |
required: false | |
type: choice | |
options: | |
- spamooor | |
merge_group: | |
push: | |
branches: | |
- "main" | |
- "master" | |
tags: | |
- "**-v[0-9]+.[0-9]+.[0-9]+" | |
- "**-v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+" | |
- "**-v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+" | |
- "**-v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
jobs: | |
run_checker: | |
uses: ./.github/workflows/reusable-run-checker.yml | |
spamooor: | |
needs: run_checker | |
if: needs.run_checker.outputs.run_docker == 'true' || (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'spamooor') | |
uses: "./.github/workflows/reusable-docker-build.yml" | |
permissions: | |
contents: read | |
id-token: write | |
packages: write | |
with: | |
depot-project-id: c3gpflm133 | |
package-name: spamooor | |
target-binary: astria-spamooor | |
tag: ${{ inputs.tag }} | |
secrets: inherit | |
docker: | |
if: ${{ always() && !cancelled() }} | |
needs: [spamooor] | |
uses: ./.github/workflows/reusable-success.yml | |
with: | |
success: ${{ !contains(needs.*.result, 'failure') }} |