Skip to content

Commit d472652

Browse files
committed
chore: more github token testing
1 parent 45cfdcc commit d472652

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/workflows.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ on:
2626
required: false
2727
type: string
2828
default: 'Dockerfile'
29+
GITHUB_TOKEN:
30+
description: 'Github token of the repository (automatically created by Github)'
31+
required: false
32+
default: ${{ github.token }}
2933
secrets:
3034
acr-username:
3135
description: 'Username to use when logging into ACR'
@@ -67,7 +71,7 @@ jobs:
6771
dockerfile: ${{ inputs.dockerfile }}
6872
platforms: 'linux/amd64'
6973
tag-prefix: 'amd64-'
70-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
GITHUB_TOKEN: ${{ inputs.token }}
7175

7276

7377
docker-arm64:
@@ -95,7 +99,7 @@ jobs:
9599
dockerfile: ${{ inputs.dockerfile }}
96100
platforms: 'linux/arm64'
97101
tag-prefix: 'arm64-'
98-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102+
GITHUB_TOKEN: ${{ inputs.token }}
99103

100104
docker-manifest:
101105
needs: [docker-amd64, docker-arm64]

0 commit comments

Comments
 (0)