Skip to content

Commit

Permalink
hof/ci: update env var for dagger workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Worm committed Dec 17, 2024
1 parent 076c0e6 commit 36077a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.23.x
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Vars
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: hof-in-dagger
run: go run ./test/dagger/main/hof.go
env:
GITHUB_TOKEN: ${{secrets.HOF_HOMEBREW_PAT}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITLAB_TOKEN: ${{secrets.GITLAB_TOKEN}}
BITBUCKET_USERNAME: hofstadter
BITBUCKET_PASSWORD: ${{secrets.BITBUCKET_TOKEN}}
Expand Down
3 changes: 3 additions & 0 deletions ci/gha/common/steps.cue
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ Steps: {
"restore-keys": "${{ runner.os }}-dagger-"
}
}
env: {
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
}
}

gcloud: {
Expand Down
2 changes: 1 addition & 1 deletion ci/gha/dagger.cue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ghacue.#Workflow & {
name: "hof-in-dagger"
run: "go run ./test/dagger/main/hof.go"
env: {
GITHUB_TOKEN: "${{secrets.HOF_HOMEBREW_PAT}}"
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"
GITLAB_TOKEN: "${{secrets.GITLAB_TOKEN}}"
BITBUCKET_USERNAME: "hofstadter"
BITBUCKET_PASSWORD: "${{secrets.BITBUCKET_TOKEN}}"
Expand Down

0 comments on commit 36077a8

Please sign in to comment.