I completely give up on optimization.
All checks were successful
Build and push container image / build (push) Successful in 10m43s

This commit is contained in:
toast 2024-03-12 14:30:27 +11:00
parent 7bf2ff0b4d
commit d4124a7c57

View File

@ -1,11 +1,13 @@
name: Build and push container image
on:
push:
branches:
- master
jobs:
build:
runs-on: rust-ci
runs-on: ubuntu-22.04-node
steps:
- name: Set up Docker environment
run: |
@ -26,17 +28,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Retrieve cache
uses: https://github.com/actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c # v3