Skip to content

Commit

Permalink
unify wording
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegalbraith committed Oct 6, 2023
1 parent 34c365f commit 0852cc6
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions content/integrations/github-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,16 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
# The depot CLI still needs to be available in your workflow
- uses: depot/setup-action@v1
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Depot CLI
uses: depot/setup-action@v1

- uses: depot/build-push-action@v1
with:
# if no depot.json file is at the root of your repo, you must specify the project id
project: <your-depot-project-id>
context: .
push: true
tags: |
...
# Pass project token or user access token if you're not using OIDC token authentication
token: ${{ secrets.DEPOT_TOKEN }}
```
Expand All @@ -151,7 +150,8 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

- uses: depot/setup-action@v1
- name: Set up Depot CLI
uses: depot/setup-action@v1

- name: Bake Docker images
uses: depot/bake-action@v1
Expand All @@ -172,8 +172,12 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: depot/setup-action@v1
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Depot CLI
uses: depot/setup-action@v1
- run: depot build --project <your-project-id> --push --tag repo/image:tag .
env:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
Expand Down

0 comments on commit 0852cc6

Please sign in to comment.