mirror of
https://github.com/docker/metadata-action.git
synced 2024-11-25 13:35:42 +01:00
commit
44d81d6d2a
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@ -20,6 +20,24 @@ env:
|
|||||||
BUILDX_VERSION: latest
|
BUILDX_VERSION: latest
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
context:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
context:
|
||||||
|
- workflow
|
||||||
|
- git
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
-
|
||||||
|
name: Docker meta
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
context: ${{ matrix.context }}
|
||||||
|
|
||||||
multi-images:
|
multi-images:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -341,10 +359,6 @@ jobs:
|
|||||||
name: Check manifest
|
name: Check manifest
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }}
|
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }}
|
||||||
-
|
|
||||||
name: Dump context
|
|
||||||
if: always()
|
|
||||||
uses: crazy-max/ghaction-dump-context@v2
|
|
||||||
|
|
||||||
bake:
|
bake:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -579,3 +593,13 @@ jobs:
|
|||||||
type=sha
|
type=sha
|
||||||
env:
|
env:
|
||||||
DOCKER_METADATA_SHORT_SHA_LENGTH: ${{ matrix.short-length }}
|
DOCKER_METADATA_SHORT_SHA_LENGTH: ${{ matrix.short-length }}
|
||||||
|
|
||||||
|
dump:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
-
|
||||||
|
name: Dump context
|
||||||
|
uses: crazy-max/ghaction-dump-context@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user