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