ci: build for antithesis #100
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
merge_group: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
# Set permissions if you're using OIDC token authentication | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- 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: qln0fqqvvd | |
# Pass project token or user access token if you're not using OIDC token authentication | |
token: ${{ secrets.DEPOT_TOKEN }} | |
push: false | |
context: . | |
file: Dockerfile | |
target: ci |