File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,23 @@ for version in "${versions[@]}"; do
18
18
major_minor=$( echo $version | cut -d ' .' -f1,2 | tr -d ' .' )
19
19
20
20
# Define repository name
21
- REPO =" ${REPO} :php$major_minor "
21
+ REPOSITORY =" ${REPO} :php$major_minor "
22
22
23
23
# Build and push image without xdebug
24
24
docker build . --file php.Dockerfile \
25
25
--build-arg PHP_VERSION=$version \
26
26
--build-arg NODE_VERSION=20 \
27
27
--build-arg WITH_XDEBUG=false \
28
28
--no-cache \
29
- --tag $REPO
30
- docker push $REPO
29
+ --tag $REPOSITORY
30
+ docker push $REPOSITORY
31
31
32
32
# Build and push image with xdebug
33
33
docker build . --file php.Dockerfile \
34
34
--build-arg PHP_VERSION=$version \
35
35
--build-arg NODE_VERSION=20 \
36
36
--build-arg WITH_XDEBUG=true \
37
37
--no-cache \
38
- --tag $REPO -xdebug
39
- docker push $REPO -xdebug
38
+ --tag $REPOSITORY -xdebug
39
+ docker push $REPOSITORY -xdebug
40
40
done
You can’t perform that action at this time.
0 commit comments