mirror of
https://github.com/docker/build-push-action.git
synced 2026-05-29 22:10:45 +03:00
Merge pull request #1549 from crazy-max/ci-e2e-dockerhub-push-scope
ci(e2e): limit push-scoped login to Docker Hub
This commit is contained in:
@@ -119,7 +119,7 @@ jobs:
|
||||
registry: ${{ env.REGISTRY_FQDN || inputs.registry }}
|
||||
username: ${{ env.REGISTRY_USER || secrets.registry_username }}
|
||||
password: ${{ env.REGISTRY_PASSWORD || secrets.registry_password }}
|
||||
scope: '@push'
|
||||
scope: ${{ inputs.type == 'remote' && inputs.registry == '' && '@push' || '' }}
|
||||
-
|
||||
name: Build and push
|
||||
uses: ./
|
||||
|
||||
Reference in New Issue
Block a user