|
|
@ -58,8 +58,8 @@ jobs:
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
-
|
|
|
|
-
|
|
|
|
name: Docker meta
|
|
|
|
name: Docker meta
|
|
|
|
id: docker_meta
|
|
|
|
id: meta
|
|
|
|
uses: crazy-max/ghaction-docker-meta@v1
|
|
|
|
uses: crazy-max/ghaction-docker-meta@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
images: ${{ matrix.slug }}
|
|
|
|
images: ${{ matrix.slug }}
|
|
|
|
-
|
|
|
|
-
|
|
|
@ -84,21 +84,21 @@ jobs:
|
|
|
|
file: ./test/Dockerfile-multi
|
|
|
|
file: ./test/Dockerfile-multi
|
|
|
|
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
|
|
|
|
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
|
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
|
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
|
|
|
labels: ${{ steps.meta.outputs.labels }}
|
|
|
|
cache-from: type=registry,ref=${{ matrix.slug }}:master
|
|
|
|
cache-from: type=registry,ref=${{ matrix.slug }}:master
|
|
|
|
cache-to: type=inline
|
|
|
|
cache-to: type=inline
|
|
|
|
-
|
|
|
|
-
|
|
|
|
name: Inspect image
|
|
|
|
name: Inspect image
|
|
|
|
if: github.event_name != 'pull_request'
|
|
|
|
if: github.event_name != 'pull_request'
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
docker pull ${{ matrix.slug }}:${{ steps.docker_meta.outputs.version }}
|
|
|
|
docker pull ${{ matrix.slug }}:${{ steps.meta.outputs.version }}
|
|
|
|
docker image inspect ${{ matrix.slug }}:${{ steps.docker_meta.outputs.version }}
|
|
|
|
docker image inspect ${{ matrix.slug }}:${{ steps.meta.outputs.version }}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
name: Check manifest
|
|
|
|
name: Check manifest
|
|
|
|
if: github.event_name != 'pull_request'
|
|
|
|
if: github.event_name != 'pull_request'
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
docker buildx imagetools inspect ${{ matrix.slug }}:${{ steps.docker_meta.outputs.version }}
|
|
|
|
docker buildx imagetools inspect ${{ matrix.slug }}:${{ steps.meta.outputs.version }}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
name: Dump context
|
|
|
|
name: Dump context
|
|
|
|
if: always()
|
|
|
|
if: always()
|
|
|
|