Skip to content
Snippets Groups Projects
Commit 2d1b77a2 authored by Griefed's avatar Griefed :joystick:
Browse files

Update .gitlab-ci.yml file

parent c94453fe
No related branches found
Tags 2.1.14
No related merge requests found
...@@ -92,8 +92,8 @@ Check Packages:on-schedule: ...@@ -92,8 +92,8 @@ Check Packages:on-schedule:
git clone $CI_PROJECT_URL.git /tmp/$CI_PROJECT_PATH && \ git clone $CI_PROJECT_URL.git /tmp/$CI_PROJECT_PATH && \
cd /tmp/$CI_PROJECT_PATH && \ cd /tmp/$CI_PROJECT_PATH && \
if [ ! -s "package-versions.txt" ];then if [ ! -s "package_versions.txt" ];then
echo "No package-versions.txt available..." && \ echo "No package_versions.txt available..." && \
# Gather package information from latest build # Gather package information from latest build
docker run --rm --entrypoint /bin/sh -v /tmp/$CI_PROJECT_PATH:/tmp $DOCKERHUB_USER/$DOCKERHUB_REPO:latest -c '\ docker run --rm --entrypoint /bin/sh -v /tmp/$CI_PROJECT_PATH:/tmp $DOCKERHUB_USER/$DOCKERHUB_REPO:latest -c '\
...@@ -116,8 +116,8 @@ Check Packages:on-schedule: ...@@ -116,8 +116,8 @@ Check Packages:on-schedule:
# Nice # Nice
echo "package_versions.txt added." echo "package_versions.txt added."
elif [ -s "package-versions.txt" ];then elif [ -s "package_versions.txt" ];then
echo "Local package-versions.txt available..." && \ echo "Local package_versions.txt available..." && \
# Build local image for new package versions list # Build local image for new package versions list
docker build --no-cache --tag $DOCKERHUB_REPO . && \ docker build --no-cache --tag $DOCKERHUB_REPO . && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment