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$//')
|
sed 's/\.json$//')
|
||||||
echo "version=$version"
|
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]+' | \
|
grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+' | \
|
||||||
sort -V | \
|
sort -V | \
|
||||||
tail -n 1 | sed 's/^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
|
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
|
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.top/tulis/tulibuilder:v$version .
|
docker build --build-arg MINECRAFT_VERSION=$version -t git.tulisiowice.pl/tulis/tulibuilder:v$version .
|
||||||
docker push git.tulisiowice.top/tulis/tulibuilder:v$version
|
docker push git.tulisiowice.pl/tulis/tulibuilder:v$version
|
||||||
else
|
else
|
||||||
echo "There's nothing to update!"
|
echo "There's nothing to update!"
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user