From d4124a7c573c36c79f90d21852e56932cd42b4f1 Mon Sep 17 00:00:00 2001 From: toast Date: Tue, 12 Mar 2024 14:30:27 +1100 Subject: [PATCH] I completely give up on optimization. --- .gitea/workflows/build.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index bb959c8..4da9bfc 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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