mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
(fix) build image creation
This commit is contained in:
parent
6f5ecc9a59
commit
9417080dd7
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
TAGS=("3-openjdk-16" "3-jdk-11" "3-jdk-11-openj9" "3-jdk-8" "3-jdk-8-openj9", "3-openjdk-15", "3-openjdk-17")
|
||||
TAGS=("3-openjdk-16" "3-jdk-11" "3-jdk-11-openj9" "3-jdk-8" "3-jdk-8-openj9" "3-openjdk-15" "3-openjdk-17")
|
||||
|
||||
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
||||
for i in "${TAGS[@]}"
|
||||
|
|
@ -8,7 +8,7 @@ do
|
|||
echo Creating build image for "$i"
|
||||
{
|
||||
echo "FROM maven:${i}"
|
||||
} >> Dockerfile
|
||||
} >>Dockerfile
|
||||
docker build -t "$CI_REGISTRY_IMAGE/maven:$i" .
|
||||
docker push "$CI_REGISTRY_IMAGE/maven:${i}"
|
||||
rm Dockerfile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue