mirror of
https://github.com/docker/build-push-action.git
synced 2026-06-10 01:32:16 +08:00
ci(e2e): use org-owned Docker Hub credentials for e2e pushes
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
7b93b2b85c
commit
405b217da0
6
.github/workflows/e2e.yml
vendored
6
.github/workflows/e2e.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Docker Hub
|
name: Docker Hub
|
||||||
registry: ''
|
registry: ''
|
||||||
slug: ghactionstest/ghactionstest
|
slug: dockereng/build-push-action-test
|
||||||
auth: dockerhub
|
auth: dockerhub
|
||||||
type: remote
|
type: remote
|
||||||
-
|
-
|
||||||
@ -107,7 +107,7 @@ jobs:
|
|||||||
# GHCR uses the called workflow's GITHUB_TOKEN fallback.
|
# GHCR uses the called workflow's GITHUB_TOKEN fallback.
|
||||||
registry_username: >-
|
registry_username: >-
|
||||||
${{
|
${{
|
||||||
matrix.auth == 'dockerhub' && secrets.DOCKERHUB_USERNAME ||
|
matrix.auth == 'dockerhub' && vars.DOCKERPUBLICBOT_USERNAME ||
|
||||||
matrix.auth == 'gitlab' && secrets.GITLAB_USERNAME ||
|
matrix.auth == 'gitlab' && secrets.GITLAB_USERNAME ||
|
||||||
matrix.auth == 'aws' && secrets.AWS_ACCESS_KEY_ID ||
|
matrix.auth == 'aws' && secrets.AWS_ACCESS_KEY_ID ||
|
||||||
matrix.auth == 'gar' && secrets.GAR_USERNAME ||
|
matrix.auth == 'gar' && secrets.GAR_USERNAME ||
|
||||||
@ -118,7 +118,7 @@ jobs:
|
|||||||
}}
|
}}
|
||||||
registry_password: >-
|
registry_password: >-
|
||||||
${{
|
${{
|
||||||
matrix.auth == 'dockerhub' && secrets.DOCKERHUB_TOKEN ||
|
matrix.auth == 'dockerhub' && secrets.DOCKERPUBLICBOT_WRITE_PAT ||
|
||||||
matrix.auth == 'gitlab' && secrets.GITLAB_TOKEN ||
|
matrix.auth == 'gitlab' && secrets.GITLAB_TOKEN ||
|
||||||
matrix.auth == 'aws' && secrets.AWS_SECRET_ACCESS_KEY ||
|
matrix.auth == 'aws' && secrets.AWS_SECRET_ACCESS_KEY ||
|
||||||
matrix.auth == 'gar' && secrets.GAR_JSON_KEY ||
|
matrix.auth == 'gar' && secrets.GAR_JSON_KEY ||
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user