Try to improve caching?
All checks were successful
Build and Publish Docker Container / build (push) Successful in 9m41s

This commit is contained in:
Joshua Coles 2024-06-03 19:19:50 +01:00
parent 97f57803e5
commit 7fd85550ea

View File

@ -10,11 +10,17 @@ jobs:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: Checkout code
uses: actions/checkout@v2
# Note to self: maybe look at this if we want to build outside docker?
# - name: Build with cache
# uses: Swatinem/rust-cache@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
@ -31,3 +37,5 @@ jobs:
context: .
push: true
tags: git.joshuacoles.me/personal/monzo-ingestion:latest
cache-from: type=registry,ref=user/app:latest
cache-to: type=inline