Skip to content

Commit 74e0d81

Browse files
committed
wip
1 parent fcbc7e0 commit 74e0d81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ for version in "${versions[@]}"; do
1818
major_minor=$(echo $version | cut -d '.' -f1,2 | tr -d '.')
1919

2020
# Define repository name
21-
REPO="${REPO}:php$major_minor"
21+
REPOSITORY="${REPO}:php$major_minor"
2222

2323
# Build and push image without xdebug
2424
docker build . --file php.Dockerfile \
2525
--build-arg PHP_VERSION=$version \
2626
--build-arg NODE_VERSION=20 \
2727
--build-arg WITH_XDEBUG=false \
2828
--no-cache \
29-
--tag $REPO
30-
docker push $REPO
29+
--tag $REPOSITORY
30+
docker push $REPOSITORY
3131

3232
# Build and push image with xdebug
3333
docker build . --file php.Dockerfile \
3434
--build-arg PHP_VERSION=$version \
3535
--build-arg NODE_VERSION=20 \
3636
--build-arg WITH_XDEBUG=true \
3737
--no-cache \
38-
--tag $REPO-xdebug
39-
docker push $REPO-xdebug
38+
--tag $REPOSITORY-xdebug
39+
docker push $REPOSITORY-xdebug
4040
done

0 commit comments

Comments
 (0)