remove buildx cache
This commit is contained in:
18
.github/workflows/publish_docker.yml
vendored
18
.github/workflows/publish_docker.yml
vendored
@@ -78,13 +78,13 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern=v{{major}}
|
||||
|
||||
- name: Cache docker buildx main
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/.buildx-main-cache
|
||||
key: ${{ runner.os }}-buildx-main-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-main-
|
||||
# - name: Cache docker buildx main
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: /tmp/.buildx-main-cache
|
||||
# key: ${{ runner.os }}-buildx-main-${{ github.sha }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-buildx-main-
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -100,5 +100,5 @@ jobs:
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=local,src=/tmp/.buildx-main-cache
|
||||
cache-to: type=local,mode=max,dest=/tmp/.buildx-main-cache
|
||||
# cache-from: type=local,src=/tmp/.buildx-main-cache
|
||||
# cache-to: type=local,mode=max,dest=/tmp/.buildx-main-cache
|
||||
Reference in New Issue
Block a user