Public Access
1
0
mirror of https://github.com/docker/build-push-action.git synced 2026-06-10 19:00:33 +03:00

Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot] b3a9933cc8 chore(deps): Bump codecov/codecov-action from 6.0.1 to 7.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/e79a6962e0d4c0c17b229090214935d2e33f8354...fb8b3582c8e4def4969c97caa2f19720cb33a72f)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-08 11:52:43 +00:00
3 changed files with 29 additions and 40 deletions
+1 -11
View File
@@ -10,9 +10,6 @@ on:
type: type:
required: true required: true
type: string type: string
provider:
required: true
type: string
name: name:
required: true required: true
type: string type: string
@@ -111,16 +108,9 @@ jobs:
driver-opts: | driver-opts: |
image=${{ matrix.buildkit_image }} image=${{ matrix.buildkit_image }}
network=host network=host
-
name: Configure AWS credentials
if: inputs.provider == 'aws'
uses: aws-actions/configure-aws-credentials@e7f100cf4c008499ea8adda475de1042d6975c7b # v6.2.0
with:
role-to-assume: arn:aws:iam::175142243308:role/official_gha_cicd
aws-region: us-east-1
- -
name: Login to Registry name: Login to Registry
if: github.event_name != 'pull_request' && (inputs.type == 'remote' || inputs.provider == 'aws' || env.REGISTRY_USER != '') if: github.event_name != 'pull_request' && (inputs.type == 'remote' || env.REGISTRY_USER != '')
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0 uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with: with:
registry: ${{ env.REGISTRY_FQDN || inputs.registry }} registry: ${{ env.REGISTRY_FQDN || inputs.registry }}
+27 -28
View File
@@ -22,7 +22,6 @@ jobs:
uses: ./.github/workflows/.e2e-run.yml uses: ./.github/workflows/.e2e-run.yml
permissions: permissions:
contents: read contents: read
id-token: write # to get AWS credentials
packages: write # to push image to GHCR packages: write # to push image to GHCR
strategy: strategy:
fail-fast: false fail-fast: false
@@ -31,100 +30,100 @@ jobs:
- -
name: Distribution name: Distribution
id: distribution id: distribution
provider: none auth: none
type: local type: local
- -
name: Docker Hub name: Docker Hub
registry: '' registry: ''
slug: dockereng/build-push-action-test slug: ghactionstest/ghactionstest
provider: dockerhub auth: dockerhub
type: remote type: remote
- -
name: GitHub name: GitHub
registry: ghcr.io registry: ghcr.io
slug: ghcr.io/docker/build-push-action-test slug: ghcr.io/docker/build-push-action-test
provider: ghcr auth: ghcr
type: remote type: remote
- -
name: GitLab name: GitLab
registry: registry.gitlab.com registry: registry.gitlab.com
slug: registry.gitlab.com/test1716/test slug: registry.gitlab.com/test1716/test
provider: gitlab auth: gitlab
type: remote type: remote
- -
name: AWS ECR name: AWS ECR
registry: 175142243308.dkr.ecr.us-east-2.amazonaws.com registry: 175142243308.dkr.ecr.us-east-2.amazonaws.com
slug: 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action slug: 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action
provider: aws auth: aws
type: remote type: remote
- -
name: AWS ECR Public name: AWS ECR Public
registry: public.ecr.aws registry: public.ecr.aws
slug: public.ecr.aws/q3b5f1u4/test-docker-action slug: public.ecr.aws/q3b5f1u4/test-docker-action
provider: aws auth: aws
type: remote type: remote
- -
name: Google Artifact Registry name: Google Artifact Registry
registry: us-east4-docker.pkg.dev registry: us-east4-docker.pkg.dev
slug: us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action slug: us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action
provider: gar auth: gar
type: remote type: remote
- -
name: Azure Container Registry name: Azure Container Registry
registry: officialgithubactions.azurecr.io registry: officialgithubactions.azurecr.io
slug: officialgithubactions.azurecr.io/test-docker-action slug: officialgithubactions.azurecr.io/test-docker-action
provider: acr auth: acr
type: remote type: remote
- -
name: Quay name: Quay
registry: quay.io registry: quay.io
slug: quay.io/docker_build_team/ghactiontest slug: quay.io/docker_build_team/ghactiontest
provider: quay auth: quay
type: remote type: remote
- -
name: Artifactory name: Artifactory
registry: infradock.jfrog.io registry: infradock.jfrog.io
slug: infradock.jfrog.io/test-ghaction/build-push-action slug: infradock.jfrog.io/test-ghaction/build-push-action
provider: artifactory auth: artifactory
type: remote type: remote
- -
name: Harbor name: Harbor
id: harbor id: harbor
provider: none auth: none
type: local type: local
- -
name: Nexus name: Nexus
id: nexus id: nexus
provider: none auth: none
type: local type: local
with: with:
id: ${{ matrix.id }} id: ${{ matrix.id }}
type: ${{ matrix.type }} type: ${{ matrix.type }}
provider: ${{ matrix.provider }}
name: ${{ matrix.name }} name: ${{ matrix.name }}
registry: ${{ matrix.registry }} registry: ${{ matrix.registry }}
slug: ${{ matrix.slug }} slug: ${{ matrix.slug }}
secrets: secrets:
# Pass only the registry-specific secrets needed by each matrix entry. # Pass only the registry-specific secrets needed by each matrix entry.
# GHCR uses the called workflow's GITHUB_TOKEN fallback. # GHCR uses the called workflow's GITHUB_TOKEN fallback.
# AWS ECR uses OIDC to get credentials.
registry_username: >- registry_username: >-
${{ ${{
matrix.provider == 'dockerhub' && vars.DOCKERPUBLICBOT_USERNAME || matrix.auth == 'dockerhub' && secrets.DOCKERHUB_USERNAME ||
matrix.provider == 'gitlab' && secrets.GITLAB_USERNAME || matrix.auth == 'gitlab' && secrets.GITLAB_USERNAME ||
matrix.provider == 'gar' && secrets.GAR_USERNAME || matrix.auth == 'aws' && secrets.AWS_ACCESS_KEY_ID ||
matrix.provider == 'acr' && secrets.AZURE_CLIENT_ID || matrix.auth == 'gar' && secrets.GAR_USERNAME ||
matrix.provider == 'quay' && secrets.QUAY_USERNAME || matrix.auth == 'acr' && secrets.AZURE_CLIENT_ID ||
matrix.provider == 'artifactory' && secrets.ARTIFACTORY_USERNAME || matrix.auth == 'quay' && secrets.QUAY_USERNAME ||
matrix.auth == 'artifactory' && secrets.ARTIFACTORY_USERNAME ||
'' ''
}} }}
registry_password: >- registry_password: >-
${{ ${{
matrix.provider == 'dockerhub' && secrets.DOCKERPUBLICBOT_WRITE_PAT || matrix.auth == 'dockerhub' && secrets.DOCKERHUB_TOKEN ||
matrix.provider == 'gitlab' && secrets.GITLAB_TOKEN || matrix.auth == 'gitlab' && secrets.GITLAB_TOKEN ||
matrix.provider == 'gar' && secrets.GAR_JSON_KEY || matrix.auth == 'aws' && secrets.AWS_SECRET_ACCESS_KEY ||
matrix.provider == 'acr' && secrets.AZURE_CLIENT_SECRET || matrix.auth == 'gar' && secrets.GAR_JSON_KEY ||
matrix.provider == 'quay' && secrets.QUAY_TOKEN || matrix.auth == 'acr' && secrets.AZURE_CLIENT_SECRET ||
matrix.provider == 'artifactory' && secrets.ARTIFACTORY_TOKEN || matrix.auth == 'quay' && secrets.QUAY_TOKEN ||
matrix.auth == 'artifactory' && secrets.ARTIFACTORY_TOKEN ||
'' ''
}} }}
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
targets: test targets: test
- -
name: Upload coverage name: Upload coverage
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1 uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with: with:
files: ./coverage/clover.xml files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }} token: ${{ secrets.CODECOV_TOKEN }}