Skip to content

Commit bf1e7e3

Browse files
committed
chore: moved github token to secrets
1 parent 52883e9 commit bf1e7e3

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/workflows.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,19 @@ on:
2626
required: false
2727
type: string
2828
default: 'Dockerfile'
29-
GITHUB_TOKEN:
30-
description: 'Github token of the repository'
31-
required: false
32-
type: string
33-
default: ${{ github.token }}
3429
secrets:
35-
acr-username:
36-
description: 'Username to use when logging into ACR'
37-
required: true
38-
acr-password:
39-
description: 'Password to use when logging into ACR'
40-
required: true
41-
pip-extra-index-url:
42-
description: 'The PIP_EXTRA_INDEX_URL to include as a secret in the docker build. Required to pull private pip packages.'
43-
required: true
30+
acr-username:
31+
description: 'Username to use when logging into ACR'
32+
required: true
33+
acr-password:
34+
description: 'Password to use when logging into ACR'
35+
required: true
36+
pip-extra-index-url:
37+
description: 'The PIP_EXTRA_INDEX_URL for private pip packages'
38+
required: true
39+
GITHUB_TOKEN: # Add this secret
40+
description: 'GitHub token for PR comments'
41+
required: false
4442
outputs:
4543
tag:
4644
description: 'Final tag used for the multi-architecture docker image'
@@ -72,6 +70,7 @@ jobs:
7270
dockerfile: ${{ inputs.dockerfile }}
7371
platforms: 'linux/amd64'
7472
tag-prefix: 'amd64-'
73+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7574

7675

7776
docker-arm64:
@@ -99,6 +98,7 @@ jobs:
9998
dockerfile: ${{ inputs.dockerfile }}
10099
platforms: 'linux/arm64'
101100
tag-prefix: 'arm64-'
101+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102102

103103
docker-manifest:
104104
needs: [docker-amd64, docker-arm64]

0 commit comments

Comments
 (0)