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 name: Build and push container image
on: on:
push: push:
branches: branches:
- master - master
jobs: jobs:
build: build:
runs-on: rust-ci runs-on: ubuntu-22.04-node
steps: steps:
- name: Set up Docker environment - name: Set up Docker environment
run: | run: |
@ -26,17 +28,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }} 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 - name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c # v3 uses: https://github.com/docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c # v3