Cringe and I know it (song not intended)
Some checks failed
Build and push container image / build (push) Has been cancelled

This commit is contained in:
toast 2024-01-08 02:59:48 +11:00
parent 3f52c785c3
commit 7234261e71

View File

@ -30,26 +30,29 @@ jobs:
uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
id: restore-cache id: restore-cache
with: with:
path: /tmp/.buildx-cache path: |
key: docker-buildx-kon- /tmp/.buildx-cache
~/.cargo
target
key: docker-buildx-kon-${{ runner.os }}
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} key: docker-buildx-kon-${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index - name: Cache cargo index
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with: with:
path: ~/.cargo/git path: ~/.cargo/git
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }} key: docker-buildx-kon-${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build - name: Cache cargo build
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with: with:
path: target path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} key: docker-buildx-kon-${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3 uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3
@ -66,5 +69,8 @@ jobs:
uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
id: cache id: cache
with: with:
path: /tmp/.buildx-cache path: |
key: docker-buildx-kon-${{ github.sha }} /tmp/.buildx-cache
~/.cargo
target
key: docker-buildx-kon-${{ runner.os }}