mirror of
https://github.com/docker/build-push-action
synced 2024-11-10 05:21:40 +00:00
Merge pull request #257 from crazy-max/fix-public-ecr
Fix public ECR slug and add cache to registry
This commit is contained in:
commit
46d5afd128
1 changed files with 3 additions and 1 deletions
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
||||||
password_secret: AWS_SECRET_ACCESS_KEY
|
password_secret: AWS_SECRET_ACCESS_KEY
|
||||||
-
|
-
|
||||||
registry: public.ecr.aws
|
registry: public.ecr.aws
|
||||||
slug: public.ecr.aws/q3b5f1u4/sandbox/test-docker-action
|
slug: public.ecr.aws/q3b5f1u4/test-docker-action
|
||||||
username_secret: AWS_ACCESS_KEY_ID
|
username_secret: AWS_ACCESS_KEY_ID
|
||||||
password_secret: AWS_SECRET_ACCESS_KEY
|
password_secret: AWS_SECRET_ACCESS_KEY
|
||||||
steps:
|
steps:
|
||||||
|
@ -76,6 +76,8 @@ jobs:
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
|
cache-from: type=registry,ref=${{ matrix.slug }}:master
|
||||||
|
cache-to: type=inline
|
||||||
-
|
-
|
||||||
name: Inspect image
|
name: Inspect image
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
|
|
Loading…
Reference in a new issue