chore(deps): bump mozilla-it/deploy-actions/.github/workflows/build-and-push.yml from 5.3.0 to 5.3.4 #137
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@a34e7a868025b983d7c948354ca3d1e887ed778d #v5.3.4 | |
| 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/" | |
| dockerfile_path: "./go-demo/Dockerfile" | |
| prebuild_script: "cd go-demo && make mozcloud-prebuild" | |
| postbuild_script: "cd go-demo && make mozcloud-postbuild" |