Prep the demo by generating nice mandelbrot image (#1) #5
This file contains hidden or 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
| # Same as full workflow (eg from fortio/gvi) but without the goreleaser step | |
| name: "shared fortio workflows" | |
| on: | |
| push: | |
| branches: [ main ] # put back once testing with pre-releases on branch is done. | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| call-gochecks: | |
| uses: fortio/workflows/.github/workflows/gochecks.yml@main | |
| call-codecov: | |
| uses: fortio/workflows/.github/workflows/codecov.yml@main | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| call-codeql: | |
| uses: fortio/workflows/.github/workflows/codeql-analysis.yml@main | |
| releaser-demo: | |
| if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') | |
| uses: fortio/workflows/.github/workflows/releaser.yml@main | |
| with: | |
| description: "Support for high dynamic range synthetic PNG image in go" | |
| binary_name: "demo" | |
| main_path: "./demo" | |
| dockerfile: "./Dockerfile" | |
| secrets: | |
| GH_PAT: ${{ secrets.GH_PAT }} | |
| DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | |
| DOCKER_USER: ${{ secrets.DOCKER_USER }} |