At this point, I don't wanna deal with caching problem anymore.
All checks were successful
Build and push container image / build (push) Successful in 9m18s
All checks were successful
Build and push container image / build (push) Successful in 9m18s
This commit is contained in:
parent
7234261e71
commit
bce80bc2f8
@ -26,34 +26,6 @@ jobs:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
- name: Restore from cache
|
||||
uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
|
||||
id: restore-cache
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache
|
||||
~/.cargo
|
||||
target
|
||||
key: docker-buildx-kon-${{ runner.os }}
|
||||
|
||||
- name: Cache cargo registry
|
||||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
|
||||
with:
|
||||
path: ~/.cargo/registry
|
||||
key: docker-buildx-kon-${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Cache cargo index
|
||||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
|
||||
with:
|
||||
path: ~/.cargo/git
|
||||
key: docker-buildx-kon-${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Cache cargo build
|
||||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
|
||||
with:
|
||||
path: target
|
||||
key: docker-buildx-kon-${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3
|
||||
|
||||
@ -64,13 +36,3 @@ jobs:
|
||||
push: true
|
||||
tags: git.toast-server.net/toast/kon:main
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||
|
||||
- name: Save to cache
|
||||
uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
|
||||
id: cache
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache
|
||||
~/.cargo
|
||||
target
|
||||
key: docker-buildx-kon-${{ runner.os }}
|
||||
|
Loading…
Reference in New Issue
Block a user