chore: fix indent error in docker.yml

release-0.0 v0.0.1-rc.5
Meng Zhang 2023-08-31 09:50:50 +08:00
parent cfa0e66c45
commit fe3e73c512
1 changed files with 14 additions and 14 deletions

View File

@ -58,20 +58,20 @@ jobs:
with: with:
image: ghcr.io/${{ env.IMAGE_NAME }}/cache image: ghcr.io/${{ env.IMAGE_NAME }}/cache
- name: Docker meta - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
# list of Docker images to use as base name for tags # list of Docker images to use as base name for tags
images: | images: |
ghcr.io/${{ env.IMAGE_NAME }} ghcr.io/${{ env.IMAGE_NAME }}
${{ env.IMAGE_NAME }} ${{ env.IMAGE_NAME }}
# generate Docker tags based on the following events/attributes # generate Docker tags based on the following events/attributes
tags: | tags: |
type=schedule,pattern=nightly type=schedule,pattern=nightly
type=schedule,pattern={{date 'YYYYMMDD'}} type=schedule,pattern={{date 'YYYYMMDD'}}
type=match,pattern=^v\d+.\d+.\d+$,value=latest type=match,pattern=^v\d+.\d+.\d+$,value=latest
type=match,pattern=v(.*) type=match,pattern=v(.*)
# Build and push Docker image with Buildx (don't push on PR) # Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action # https://github.com/docker/build-push-action