Skip to content
Snippets Groups Projects
Commit f6d7bfdb authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds debug.

parent 0ab49545
No related branches found
No related tags found
No related merge requests found
Pipeline #1487 passed with stage
in 9 minutes and 1 second
......@@ -5,7 +5,7 @@ variables:
.compute_version: &compute_version
- if [ "$CHANNEL" == "stable" ]; then export FILTER="grep -v beta"; else export FILTER="grep beta"; fi
- export DISCOURSE_VERSION=`wget -qO- https://api.github.com/repos/discourse/discourse/tags | grep name | cut -d'"' -f4 | $FILTER | head -n1`
- export DATE=`date "+%Y-%m-%dT%H-%M-%SZ"`
- export DATE=`date "+%Y-%m-%dT%H-%M-%SZ"`
.test:
image:
......@@ -16,6 +16,8 @@ variables:
script:
- *compute_version
- export DISCOURSE_MAJOR=`echo $DISCOURSE_VERSION | cut -d"." -f1-3`
- echo $DISCOURSE_MAJOR
- echo $DISCOURSE_VERSION
- /kaniko/executor --context . ${DESTINATION} --build-arg DISCOURSE_VERSION=$DISCOURSE_VERSION
except:
- master
......
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