Skip to content

Commit 0fd89be

Browse files
committed
Rename DS_REGISTRY to REGISTRY
This is the name already used by docker compose and by projects built on docker-starter.
1 parent 5098fe7 commit 0fd89be

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.castor/docker-push-test.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function test_push(): void
7070

7171
io()->section('Running docker:push against it');
7272
run(['castor', 'docker:push'], context: context()->withEnvironment([
73-
'DS_REGISTRY' => "{$registryName}:5000/{$namespace}",
73+
'REGISTRY' => "{$registryName}:5000/{$namespace}",
7474
'BUILDX_BUILDER' => $builderName,
7575
]));
7676
} finally {

‎.github/workflows/build-push.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# # Fix for symfony/color detection. We know GitHub Actions can handle it
1717
# ANSICON: 1
1818
# CASTOR_CONTEXT: prod
19-
# DS_REGISTRY: "ghcr.io/${{ github.repository }}"
19+
# REGISTRY: "ghcr.io/${{ github.repository }}"
2020
#
2121
# jobs:
2222
# build-push:

‎.github/workflows/cache.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
packages: write
1111

1212
env:
13-
DS_REGISTRY: "ghcr.io/jolicode/docker-starter"
13+
REGISTRY: "ghcr.io/jolicode/docker-starter"
1414
DS_PHP_VERSION: "8.5"
1515

1616
jobs:

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
# Fix for symfony/color detection. We know GitHub Actions can handle it
2121
ANSICON: 1
2222
CASTOR_CONTEXT: ci
23-
DS_REGISTRY: "ghcr.io/jolicode/docker-starter"
23+
REGISTRY: "ghcr.io/jolicode/docker-starter"
2424

2525
jobs:
2626
check-dockerfiles:

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ push from your machine (you need to be logged in to the registry, and a buildx
11331133
builder able to export a registry cache, e.g. `docker buildx create --use`):
11341134

11351135
```bash
1136-
DS_REGISTRY=ghcr.io/<org>/<repo> castor docker:push -c prod --tag=my-test
1136+
REGISTRY=ghcr.io/<org>/<repo> castor docker:push -c prod --tag=my-test
11371137
```
11381138

11391139
</details>

‎castor.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function create_default_variables(): array
3939
// In order to test docker stater, we need a way to pass different values.
4040
// You should remove the `$_SERVER` and hardcode your configuration.
4141
'php_version' => $_SERVER['DS_PHP_VERSION'] ?? '8.5',
42-
'registry' => $_SERVER['DS_REGISTRY'] ?? null,
42+
'registry' => $_SERVER['REGISTRY'] ?? null,
4343
];
4444
}
4545

0 commit comments

Comments
 (0)