From fe3e73c512945bcc5881cd87bc2572af317b0ea0 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 31 Aug 2023 09:50:50 +0800 Subject: [PATCH] chore: fix indent error in docker.yml --- .github/workflows/docker.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 12ce882..7608604 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -58,20 +58,20 @@ jobs: with: image: ghcr.io/${{ env.IMAGE_NAME }}/cache - - name: Docker meta - id: meta - uses: docker/metadata-action@v4 - with: - # list of Docker images to use as base name for tags - images: | - ghcr.io/${{ env.IMAGE_NAME }} - ${{ env.IMAGE_NAME }} - # generate Docker tags based on the following events/attributes - tags: | - type=schedule,pattern=nightly - type=schedule,pattern={{date 'YYYYMMDD'}} - type=match,pattern=^v\d+.\d+.\d+$,value=latest - type=match,pattern=v(.*) + - name: Docker meta + id: meta + uses: docker/metadata-action@v4 + with: + # list of Docker images to use as base name for tags + images: | + ghcr.io/${{ env.IMAGE_NAME }} + ${{ env.IMAGE_NAME }} + # generate Docker tags based on the following events/attributes + tags: | + type=schedule,pattern=nightly + type=schedule,pattern={{date 'YYYYMMDD'}} + type=match,pattern=^v\d+.\d+.\d+$,value=latest + type=match,pattern=v(.*) # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action