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