Investigate cargo-chef to cache things
Build and Publish Docker Container / build (push) Has been cancelled

This commit is contained in:
2024-06-03 20:09:00 +01:00
parent b8c1faced2
commit d7d7fa9718
3 changed files with 60 additions and 6 deletions
+1 -6
View File
@@ -10,17 +10,11 @@ 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
@@ -36,6 +30,7 @@ jobs:
with:
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