Skip to content

fix: pass GITHUB_TOKEN #9

fix: pass GITHUB_TOKEN

fix: pass GITHUB_TOKEN #9

Workflow file for this run

name: dagger
on: push
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Call Dagger workflow
uses: dagger/dagger-for-github@v5
with:
verb: call
module: .
args: >-
build-and-push
--git-ref=$GITHUB_REF
--git-commit=$GITHUB_SHA
--registry=ghcr.io
--image-name=whohacks
--registry-user=$GITHUB_ACTOR
--registry-token=$GITHUB_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}