Skip to content

Commit 746a7fb

Browse files
authored
Revert "Enable passing custom or wildcard container repo" (#52779)
1 parent 2d09033 commit 746a7fb

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/azure-prod-build-deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ jobs:
6666
- name: 'Create Azure Container Registry Token'
6767
env:
6868
CONTAINER_REGISTRY_SERVER: ${{ secrets.PROD_REGISTRY_SERVER }}
69-
CONTAINER_REPO: ${{ github.repository }}
7069
run: npm run create-acr-token
7170

7271
- name: 'Docker login'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"content-changes-table-comment": "tsx src/workflows/content-changes-table-comment.ts",
2929
"copy-fixture-data": "node src/tests/scripts/copy-fixture-data.js",
3030
"count-translation-corruptions": "tsx src/languages/scripts/count-translation-corruptions.ts",
31-
"create-acr-token": "tsx src/workflows/acr-create-token.ts",
31+
"create-acr-token": "tsx src/workflows/acr-create-token.js",
3232
"debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES=en nodemon --inspect src/frame/server.ts",
3333
"delete-orphan-translation-files": "tsx src/workflows/delete-orphan-translation-files.ts",
3434
"deleted-features-pr-comment": "tsx src/data-directory/scripts/deleted-features-pr-comment.ts",

src/workflows/acr-create-token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dotenv.config()
1010

1111
const acrTokenName = process.env.ACR_TOKEN_NAME
1212
const acrServer = process.env.CONTAINER_REGISTRY_SERVER
13-
const repo = process.env.CONTAINER_REPO
13+
const repo = process.env.GITHUB_REPOSITORY
1414

1515
function main() {
1616
// Get the current time and add 30 minutes to it

0 commit comments

Comments
 (0)