Skip to content
Snippets Groups Projects
Commit 9f339c43 authored by Jonas Leder's avatar Jonas Leder
Browse files

fix image tag

parent fd91086d
No related branches found
No related tags found
No related merge requests found
......@@ -9,10 +9,10 @@ steps:
commands:
- |
if [[ "$DRONE_BRANCH" == "master" ]]; then
tag="";
tag="latest";
echo "Running on default branch '$DRONE_BRANCH': tag = 'latest'";
else
tag=":$DRONE_BRANCH";
tag="$DRONE_BRANCH";
echo "Running on branch '$DRONE_BRANCH': tag = $tag";
fi
- echo "tag=$tag" >> .env
......
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