Hacker News new | ask | show | jobs
by jacobwg 1216 days ago
The docs can be improved, but here's the GitHub Actions guide: https://depot.dev/docs/integrations/github-actions

The most important bit though is that we have a `depot/build-push-action` that implements the same inputs as Docker's `docker/build-push-action`, so just swapping that line and adding a project ID and access token are the majority of what you'd need to do:

      - uses: depot/setup-action@v1
      - uses: depot/build-push-action@v1
        with:
          project: <your-depot-project-id>
          token: ${{ secrets.DEPOT_TOKEN }}

          # Whatever other inputs:
          context: .
          push: true
          tags: |
            ...
I think that's along the lines of what you're describing as a Depot GitHub Action: https://github.com/depot/build-push-action.
1 comments

Thanks! I missed seeing that on your site.