Public Access
1
0
mirror of https://github.com/docker/build-push-action.git synced 2026-05-27 13:09:54 +03:00

Merge pull request #1539 from crazy-max/e2e-scope-login

ci(e2e): scope login to push
This commit is contained in:
Tõnis Tiigi
2026-05-26 10:11:53 -07:00
committed by GitHub
+1 -13
View File
@@ -119,6 +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'
-
name: Build and push
uses: ./
@@ -131,16 +132,3 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY_SLUG || inputs.slug }}:master
cache-to: type=inline
-
name: Inspect image
env:
SLUG: ${{ env.REGISTRY_SLUG || inputs.slug }}
run: |
docker pull ${SLUG}:${{ steps.meta.outputs.version }}
docker image inspect ${SLUG}:${{ steps.meta.outputs.version }}
-
name: Check manifest
env:
SLUG: ${{ env.REGISTRY_SLUG || inputs.slug }}
run: |
docker buildx imagetools inspect ${SLUG}:${{ steps.meta.outputs.version }} --format '{{json .}}'