浏览代码

Update docker.yml

Nick Sweeting 2 年之前
父节点
当前提交
93b5e0d9e5
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      .github/workflows/docker.yml

+ 1 - 3
.github/workflows/docker.yml

@@ -59,13 +59,11 @@ jobs:
         uses: docker/metadata-action@v5
         uses: docker/metadata-action@v5
         with:
         with:
           images: archivebox/archivebox,nikisweeting/archivebox
           images: archivebox/archivebox,nikisweeting/archivebox
-          flavor: |
-              latest=auto
           tags: |
           tags: |
               type=ref,event=branch
               type=ref,event=branch
               type=semver,pattern={{version}}
               type=semver,pattern={{version}}
               type=semver,pattern={{major}}.{{minor}}
               type=semver,pattern={{major}}.{{minor}}
-              type=sha
+              type=raw,value=latest,enable={{is_default_branch}}
       
       
       - name: Build and push
       - name: Build and push
         id: docker_build
         id: docker_build