1
0
mirror of https://gitlab.com/psono/psono-fileserver synced 2025-04-18 12:24:05 +03:00

Added version tag for docker image

https://gitlab.com/psono/psono-server/-/issues/176

Signed-off-by: Sascha Pfeiffer <sascha.pfeiffer@psono.com>
This commit is contained in:
Sascha Pfeiffer 2021-07-17 09:05:51 +02:00
parent 0dd0c2f92a
commit 9cd32875d1
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# PSONO Fileserver - Password Manager
Master: [![build status](https://gitlab.com/psono/psono-fileserver/badges/master/pipeline.svg)](https://gitlab.com/psono/psono-fileserver/commits/master) [![coverage report](https://gitlab.com/psono/psono-fileserver/badges/master/coverage.svg)](https://gitlab.com/psono/psono-fileserver/commits/master) [![Code Climate](https://codeclimate.com/github/psono/psono-fileserver/badges/gpa.svg)](https://codeclimate.com/github/psono/psono-fileserver) [![build status](https://images.microbadger.com/badges/image/psono/psono-fileserver.svg)](https://hub.docker.com/r/psono/psono-fileserver/) [![build status](https://img.shields.io/docker/pulls/psono/psono-fileserver.svg)](https://hub.docker.com/r/psono/psono-fileserver/)
Master: [![build status](https://gitlab.com/psono/psono-fileserver/badges/master/pipeline.svg)](https://gitlab.com/psono/psono-fileserver/commits/master) [![coverage report](https://gitlab.com/psono/psono-fileserver/badges/master/coverage.svg)](https://gitlab.com/psono/psono-fileserver/commits/master) [![Code Climate](https://codeclimate.com/github/psono/psono-fileserver/badges/gpa.svg)](https://codeclimate.com/github/psono/psono-fileserver) [![build status](https://img.shields.io/docker/pulls/psono/psono-fileserver.svg)](https://hub.docker.com/r/psono/psono-fileserver/)
Develop: [![build status](https://gitlab.com/psono/psono-fileserver/badges/develop/pipeline.svg)](https://gitlab.com/psono/psono-fileserver/commits/develop) [![coverage report](https://gitlab.com/psono/psono-fileserver/badges/develop/coverage.svg)](https://gitlab.com/psono/psono-fileserver/commits/develop)

View File

@ -7,8 +7,9 @@ docker pull psono-docker.jfrog.io/psono/psono-fileserver:latest
docker tag psono-docker.jfrog.io/psono/psono-fileserver:latest psono/psono-fileserver:latest
docker push psono/psono-fileserver:latest
# Inform production stage about new image
curl -X POST https://hooks.microbadger.com/images/psono/psono-fileserver/8BDLpDMSMHR-Ias4JAPRhy0f-cg=
export docker_version_tag=$(echo $CI_COMMIT_TAG | awk '{ string=substr($0, 2, 100); print string; }' )
docker tag psono-docker.jfrog.io/psono/psono-fileserver:latest psono/psono-fileserver:$docker_version_tag
docker push psono/psono-fileserver:$docker_version_tag
# Deploy to GitHub
echo "Clonging gitlab.com/psono/psono-fileserver.git"