Compare commits
2 Commits
8478fa0b38
...
92462bd316
| Author | SHA1 | Date | |
|---|---|---|---|
| 92462bd316 | |||
| f0b0cb1567 |
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -18,15 +18,15 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: https://github.com/actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
/tmp/.buildx-cache.bookworm
|
||||
/tmp/.buildx-cache.latest
|
||||
key: ${{ runner.os }}-buildx-${{ gitea.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-
|
||||
# - name: Cache Docker layers
|
||||
# uses: actions/cache@v3
|
||||
# with:
|
||||
# path: |
|
||||
# /tmp/.buildx-cache.bookworm
|
||||
# /tmp/.buildx-cache.latest
|
||||
# key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-buildx-
|
||||
|
||||
- name: Login to Docker
|
||||
uses: docker/login-action@v1
|
||||
@ -41,6 +41,6 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
file: ./Dockerfile.cache
|
||||
tags: git.joshuacoles.me/personal/monzo-ingestion:latest
|
||||
cache-from: type=registry,ref=user/app:latest
|
||||
cache-to: type=inline
|
||||
tags: git.joshuacoles.me/${{ github.repository }}:latest,git.joshuacoles.me/${{ github.repository }}:${{ github.sha }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
Loading…
Reference in New Issue
Block a user