From 95c45442323140cbf4ca6a705201f0fe38d95e94 Mon Sep 17 00:00:00 2001 From: pomni Date: Tue, 3 Dec 2024 00:43:08 +1100 Subject: [PATCH] Getting eepy now... --- .gitea/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 01e75d3..5d994d3 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action + uses: docker/setup-buildx-action@v4 - name: Checkout - uses: actions/checkout + uses: actions/checkout@v4 - name: Install zstd run: sudo apt-get update && sudo apt-get install -y zstd @@ -32,7 +32,7 @@ jobs: cat hash.txt - name: Cache - uses: actions/cache + uses: actions/cache@v4 id: cache with: save-always: true @@ -45,14 +45,14 @@ jobs: key: ${{ runner.os }}-cache-${{ steps.cargo-cache-key.outputs.hash }} - name: Login to Gitea - uses: docker/login-action + uses: docker/login-action@v3 with: registry: git.toast-server.net username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} - name: Set up Rust toolchain - uses: actions-rust-lang/setup-rust-toolchain + uses: actions-rust-lang/setup-rust-toolchain@v1 with: rustflags: -C target-feature=-crt-static @@ -69,7 +69,7 @@ jobs: cargo zigbuild --target x86_64-unknown-linux-musl --locked -rF production - name: Build and push image - uses: docker/build-push-action + uses: docker/build-push-action@v6 with: context: . platforms: linux/amd64 @@ -84,7 +84,7 @@ jobs: needs: build steps: - name: Deploy update - uses: appleboy/ssh-action + uses: appleboy/ssh-action@v1.2.0 with: host: ${{ secrets.SSH_HOST }} username: ${{ secrets.SSH_USERNAME }}