.test #16
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: .test | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'releases/v*' | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| jobs: | |
| build-aws-single: | |
| uses: ./.github/workflows/build.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| with: | |
| output: ${{ github.event_name != 'pull_request' && 'registry' || 'cacheonly' }} | |
| meta-images: | | |
| public.ecr.aws/q3b5f1u4/test-docker-action | |
| meta-tags: | | |
| type=raw,value=ghbuilder-single-${{ github.run_id }} | |
| build-file: test/hello.Dockerfile | |
| build-sbom: true | |
| secrets: | |
| registry-auths: | | |
| - registry: public.ecr.aws | |
| username: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| password: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| build-aws: | |
| uses: ./.github/workflows/build.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| with: | |
| output: ${{ github.event_name != 'pull_request' && 'registry' || 'cacheonly' }} | |
| meta-images: | | |
| public.ecr.aws/q3b5f1u4/test-docker-action | |
| meta-tags: | | |
| type=raw,value=ghbuilder-${{ github.run_id }} | |
| build-file: test/hello.Dockerfile | |
| build-sbom: true | |
| build-platforms: linux/amd64,linux/arm64 | |
| secrets: | |
| registry-auths: | | |
| - registry: public.ecr.aws | |
| username: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| password: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| build-ghcr: | |
| uses: ./.github/workflows/build.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| with: | |
| output: ${{ github.event_name != 'pull_request' && 'registry' || 'cacheonly' }} | |
| meta-images: ghcr.io/docker/github-builder-test | |
| meta-tags: | | |
| type=raw,value=${{ github.run_id }} | |
| build-file: test/hello.Dockerfile | |
| build-sbom: true | |
| build-platforms: linux/amd64,linux/arm64 | |
| secrets: | |
| registry-auths: | | |
| - registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| build-dockerhub-stage: | |
| uses: ./.github/workflows/build.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| with: | |
| output: ${{ github.event_name != 'pull_request' && 'registry' || 'cacheonly' }} | |
| meta-images: registry-1-stage.docker.io/docker/github-builder-test | |
| meta-tags: | | |
| type=raw,value=${{ github.run_id }} | |
| build-file: test/hello.Dockerfile | |
| build-sbom: true | |
| build-platforms: linux/amd64,linux/arm64 | |
| secrets: | |
| registry-auths: | | |
| - registry: registry-1-stage.docker.io | |
| username: ${{ vars.DOCKERHUB_STAGE_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_STAGE_TOKEN }} | |
| build-dockerhub-stage-oidc: | |
| uses: ./.github/workflows/build.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| with: | |
| output: ${{ github.event_name != 'pull_request' && 'registry' || 'cacheonly' }} | |
| meta-images: registry-1-stage.docker.io/docker/github-builder-test | |
| meta-tags: | | |
| type=raw,value=${{ github.run_id }},prefix=oidc- | |
| build-file: test/hello.Dockerfile | |
| build-sbom: true | |
| build-platforms: linux/amd64,linux/arm64 | |
| secrets: | |
| registry-auths: | | |
| - registry: registry-1-stage.docker.io | |
| username: docker:cdeb5882-30b7-4076-be92-bfdceb258e9c | |
| build-ghcr-and-aws: | |
| uses: ./.github/workflows/build.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| with: | |
| output: ${{ github.event_name != 'pull_request' && 'registry' || 'cacheonly' }} | |
| meta-images: | | |
| ghcr.io/docker/github-builder-test | |
| public.ecr.aws/q3b5f1u4/test-docker-action | |
| meta-tags: | | |
| type=raw,value=${{ github.run_id }},prefix=ghcr-and-aws- | |
| build-file: test/hello.Dockerfile | |
| build-sbom: true | |
| build-platforms: linux/amd64,linux/arm64 | |
| secrets: | |
| registry-auths: | | |
| - registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - registry: public.ecr.aws | |
| username: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| password: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| build-local: | |
| uses: ./.github/workflows/build.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| id-token: write | |
| with: | |
| output: ${{ github.event_name != 'pull_request' && 'local' || 'cacheonly' }} | |
| build-file: test/hello.Dockerfile | |
| build-sbom: true | |
| build-platforms: linux/amd64,linux/arm64 |