One could simply not hurt
All checks were successful
Build and push container image / build (push) Successful in 9m43s

This commit is contained in:
toast 2024-01-08 00:54:24 +11:00
parent 7059390af6
commit 5a8cef6b2e

View File

@ -28,12 +28,10 @@ jobs:
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
- name: Cache Docker layers - name: Cache Docker layers
uses: actions/cache@v3 # v3 uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with: with:
path: /tmp/.buildx-cache path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: docker-buildx-kon
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3 uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3
@ -46,3 +44,8 @@ jobs:
tags: git.toast-server.net/toast/kon:main tags: git.toast-server.net/toast/kon:main
cache-from: type=registry,ref=git.toast-server.net/toast/kon:main cache-from: type=registry,ref=git.toast-server.net/toast/kon:main
cache-to: type=inline cache-to: type=inline
- name: Save to cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
keys: docker-buildx-kon