patch: change domain from .top to .pl
All checks were successful
Build and publish release / build-docker (push) Successful in 3s
All checks were successful
Build and publish release / build-docker (push) Successful in 3s
This commit is contained in:
@ -23,7 +23,7 @@ jobs:
|
||||
sed 's/\.json$//')
|
||||
echo "version=$version"
|
||||
|
||||
docker_version=$(curl -s https://git.tulisiowice.top/Tulis/-/packages/container/tulibuilder/versions | \
|
||||
docker_version=$(curl -s https://git.tulisiowice.pl/Tulis/-/packages/container/tulibuilder/versions | \
|
||||
grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+' | \
|
||||
sort -V | \
|
||||
tail -n 1 | sed 's/^v//')
|
||||
@ -32,9 +32,9 @@ jobs:
|
||||
|
||||
|
||||
if [ "$(printf '%s\n' "$version" "$docker_version" | sort -V | tail -n 1)" = "$version" ] && [ "$version" != "$docker_version" ]; then
|
||||
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.tulisiowice.top -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
|
||||
docker build --build-arg MINECRAFT_VERSION=$version -t git.tulisiowice.top/tulis/tulibuilder:v$version .
|
||||
docker push git.tulisiowice.top/tulis/tulibuilder:v$version
|
||||
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.tulisiowice.pl -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
|
||||
docker build --build-arg MINECRAFT_VERSION=$version -t git.tulisiowice.pl/tulis/tulibuilder:v$version .
|
||||
docker push git.tulisiowice.pl/tulis/tulibuilder:v$version
|
||||
else
|
||||
echo "There's nothing to update!"
|
||||
fi
|
||||
Reference in New Issue
Block a user