From 3a090ce0da02ff980eaf5821cf00f9053fb0c235 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 10 May 2021 18:01:34 +0200 Subject: [PATCH] Update examples with docker/metadata-action Signed-off-by: CrazyMax --- .github/workflows/e2e.yml | 2 +- .github/workflows/example.yml | 2 +- docs/advanced/tags-labels.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index bf0a55677..e70538d7a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -59,7 +59,7 @@ jobs: - name: Docker meta id: meta - uses: crazy-max/ghaction-docker-meta@v2 + uses: docker/metadata-action@v3 with: images: ${{ matrix.slug }} - diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index b5c9302b1..0e2eb0414 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -29,7 +29,7 @@ jobs: - name: Docker meta id: meta - uses: crazy-max/ghaction-docker-meta@v2 + uses: docker/metadata-action@v3 with: images: ${{ env.DOCKER_IMAGE }} tags: | diff --git a/docs/advanced/tags-labels.md b/docs/advanced/tags-labels.md index 21c3ccfec..82ef9d83e 100644 --- a/docs/advanced/tags-labels.md +++ b/docs/advanced/tags-labels.md @@ -2,7 +2,7 @@ If you come from [`v1`](https://github.com/docker/build-push-action/tree/releases/v1#readme) and want an "automatic" tag management and [OCI Image Format Specification](https://github.com/opencontainers/image-spec/blob/master/annotations.md) -for labels, you can do it in a dedicated step. The following workflow will use the [Docker meta action](https://github.com/crazy-max/ghaction-docker-meta) +for labels, you can do it in a dedicated step. The following workflow will use the [Docker metadata action](https://github.com/docker/metadata-action) to handle tags and labels based on GitHub actions events and Git metadata. ```yaml @@ -30,7 +30,7 @@ jobs: - name: Docker meta id: meta - uses: crazy-max/ghaction-docker-meta@v2 + uses: docker/metadata-action@v3 with: # list of Docker images to use as base name for tags images: |