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:
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