chore(deps): bump golang from eea6706 to 080fb34 in /go-demo
#85
Workflow file for this run
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
| name: Go Demo -- Build, Tag and Push Container Images to Repository | |
| on: | |
| pull_request: | |
| types: [labeled, unlabeled, synchronize] | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - v[0-9]+.[0-9]+.[0-9]+ | |
| workflow_dispatch: {} | |
| jobs: | |
| build-and-push: | |
| if: > | |
| github.event_name == 'push' || | |
| github.event_name == 'workflow_dispatch' || | |
| ( | |
| github.event_name == 'pull_request' && | |
| contains(github.event.pull_request.labels.*.name, 'preview') && | |
| github.event.pull_request.head.repo.full_name == github.repository | |
| ) | |
| permissions: | |
| contents: read | |
| packages: write # Only required if you're publishing to GHCR | |
| id-token: write | |
| secrets: inherit | |
| uses: mozilla-it/deploy-actions/.github/workflows/build-and-push.yml@main | |
| with: | |
| image_name: go-demo | |
| gar_name: cicd-demos-nonprod | |
| project_id: moz-fx-cicd-demos-nonprod | |
| should_tag_ghcr: true | |
| image_build_context: "./go-demo/" | |
| prebuild_script: "cd go-demo && ./release.sh" |