From be9c7d1f1f4426dcae179e3cba045b563caa9302 Mon Sep 17 00:00:00 2001 From: Frank Hamand Date: Mon, 12 Aug 2024 12:50:13 +0100 Subject: [PATCH] don't use depot --- .github/workflows/rust-docker-build.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/rust-docker-build.yml b/.github/workflows/rust-docker-build.yml index df3b8aee8a3bef..df94a53b110e58 100644 --- a/.github/workflows/rust-docker-build.yml +++ b/.github/workflows/rust-docker-build.yml @@ -20,7 +20,7 @@ jobs: - hook-api - hook-janitor - hook-worker - runs-on: depot-ubuntu-22.04-4 + runs-on: ubuntu-22.04 permissions: id-token: write # allow issuing OIDC tokens for this workflow run contents: read # allow reading the repo contents @@ -40,15 +40,6 @@ jobs: sparse-checkout: 'rust/' sparse-checkout-cone-mode: false - - name: Set up Depot CLI - uses: depot/setup-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - username: posthog - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Login to ghcr.io uses: docker/login-action@v2 with: @@ -75,7 +66,7 @@ jobs: - name: Build and push image id: docker_build - uses: depot/build-push-action@v1 + uses: docker/build-push-action@v5 with: context: ./rust/ file: ./rust/Dockerfile