Update dependency aquaproj/aqua to v2.37.0 (#577) #1245
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: build | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/build.yaml | |
- .github/workflows/reusable--*.yaml | |
- Dockerfile | |
- Dockerfile.* | |
- entrypoint.sh | |
- entrypoint.d/** | |
- e2e-test/** | |
push: | |
paths: | |
- .github/workflows/build.yaml | |
- .github/workflows/reusable--*.yaml | |
- Dockerfile | |
- Dockerfile.* | |
- entrypoint.sh | |
- entrypoint.d/** | |
- e2e-test/** | |
branches: | |
- main | |
tags: | |
- '*' | |
workflow_call: | |
inputs: | |
context: | |
type: string | |
required: false | |
description: context passed to docker/build-push-action (optional) | |
tags: | |
type: string | |
required: false | |
description: tags passed to docker/metadata-action (optional) | |
jobs: | |
build: | |
uses: ./.github/workflows/reusable--build.yaml | |
permissions: | |
contents: read | |
packages: write | |
with: | |
context: ${{ inputs.context }} | |
tags: ${{ inputs.tags }} | |
build-ubuntu20: | |
uses: ./.github/workflows/reusable--build.yaml | |
permissions: | |
contents: read | |
packages: write | |
with: | |
context: ${{ inputs.context }} | |
tags: ${{ inputs.tags }} | |
file: Dockerfile.ubuntu20 | |
flavor: suffix=-ubuntu20 | |
e2e-test: | |
needs: | |
- build | |
- build-ubuntu20 | |
uses: ./.github/workflows/reusable--e2e-test.yaml | |
secrets: inherit | |
with: | |
runner-image-uri: ${{ needs.build.outputs.image-uri }} | |
runner-ubuntu20-image-uri: ${{ needs.build-ubuntu20.outputs.image-uri }} |