Skip to content

Commit 77c0af9

Browse files
committed
ci(e2e): limit push-scoped login to Docker Hub
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent c0132ad commit 77c0af9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/.e2e-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
registry: ${{ env.REGISTRY_FQDN || inputs.registry }}
120120
username: ${{ env.REGISTRY_USER || secrets.registry_username }}
121121
password: ${{ env.REGISTRY_PASSWORD || secrets.registry_password }}
122-
scope: '@push'
122+
scope: ${{ inputs.type == 'remote' && inputs.registry == '' && '@push' || '' }}
123123
-
124124
name: Build and push
125125
uses: ./

0 commit comments

Comments
 (0)