Skip to content

Commit

Permalink
don't use depot
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Aug 12, 2024
1 parent 3560401 commit be9c7d1
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/rust-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit be9c7d1

Please sign in to comment.