Skip to content
Snippets Groups Projects
Verified Commit b7e386a3 authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

refactor: use fit-connect-baseimage

parent 1da832eb
No related branches found
No related tags found
1 merge request!3Fix/737 uninline
.pre-deploy-uber-space-setup: &pre-deploy-uber-space-setup
- apk add rsync openssh-client
- eval $(ssh-agent -s)
- echo "$CI_DEPLOYMENT_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$UBERSPACE_KNOWN_HOST" >> ~/.ssh/known_hosts
workflow:
......@@ -45,7 +42,7 @@ build:
upload:latest:
stage: upload
image: $CI_REGISTRY/alpine:latest
image: $CI_REGISTRY/fit-connect/baseimage:latest
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
before_script:
......@@ -56,7 +53,7 @@ upload:latest:
upload:release:
stage: upload
image: $CI_REGISTRY/alpine:latest
image: $CI_REGISTRY/fit-connect/baseimage:latest
rules:
- if: $CI_COMMIT_TAG
before_script:
......
#!/usr/bin/env sh
TAG="$1"
if [ -z "$TAG" ]; then
echo "Usage: $0 TAG"
echo "Example: $0 1.0.1"
echo "The latest 10 existing tags:"
git tag --list \
| grep '^[0-9]' \
| sort --version-sort \
| tail
exit 1
fi
git tag -a "$TAG" -m "Release $TAG"
echo "Done! Run 'git push --tags' to push tag $TAG"
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