Skip to content

Commit b0be29d

Browse files
committed
fix(cicd): actually use the production bake definition
1 parent 8f7e9b4 commit b0be29d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ jobs:
2424
- name: Build Docker image(s)
2525
uses: docker/bake-action@v6
2626
env:
27-
GITHUB_TOKEN: ${{ secrets.GRAPHQL_GITHUB_API_TOKEN }}
27+
GRAPHQL_GITHUB_API_TOKEN: ${{ secrets.GRAPHQL_GITHUB_API_TOKEN }}
2828
with:
29+
files: |
30+
docker-bake.hcl
31+
docker-bake.prod.hcl
2932
push: false
3033
no-cache: true
3134

docker-bake.dev.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ target "frontend" {
22
secret = [
33
{
44
type = "file"
5-
id = "GITHUB_TOKEN"
5+
id = "GRAPHQL_GITHUB_API_TOKEN"
66
src = "./frontend/secrets/github_token"
77
}
88
]

docker-bake.prod.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ target "frontend" {
22
secret = [
33
{
44
type = "env"
5-
id = "GITHUB_TOKEN"
5+
id = "GRAPHQL_GITHUB_API_TOKEN"
66
}
77
]
88
}

0 commit comments

Comments
 (0)