This commit is contained in:
parent
a329e4ce07
commit
844eff5354
@ -27,6 +27,14 @@ jobs:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v3 # v3
|
||||
with:
|
||||
path: /tmp/.buildx-cache
|
||||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3
|
||||
|
||||
@ -36,5 +44,5 @@ jobs:
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: git.toast-server.net/toast/kon:main
|
||||
cache-from: type=registry,ref=git.toast-server.net/toast/kon:buildcache
|
||||
cache-to: type=registry,ref=git.toast-server.net/toast/kon:buildcache,mode=max
|
||||
cache-from: type=registry,ref=git.toast-server.net/toast/kon:main
|
||||
cache-to: type=inline
|
||||
|
Loading…
Reference in New Issue
Block a user