mirror of
https://github.com/docker/build-push-action.git
synced 2026-06-09 18:38:51 +03:00
Merge pull request #1555 from crazy-max/e2e-dockerhub
ci(e2e): use org-owned Docker Hub credentials for e2e pushes
This commit is contained in:
@@ -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 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user