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:
parent
0dd0c2f92a
commit
9cd32875d1
@ -1,6 +1,6 @@
|
||||
# PSONO Fileserver - Password Manager
|
||||
|
||||
Master: [](https://gitlab.com/psono/psono-fileserver/commits/master) [](https://gitlab.com/psono/psono-fileserver/commits/master) [](https://codeclimate.com/github/psono/psono-fileserver) [](https://hub.docker.com/r/psono/psono-fileserver/) [](https://hub.docker.com/r/psono/psono-fileserver/)
|
||||
Master: [](https://gitlab.com/psono/psono-fileserver/commits/master) [](https://gitlab.com/psono/psono-fileserver/commits/master) [](https://codeclimate.com/github/psono/psono-fileserver) [](https://hub.docker.com/r/psono/psono-fileserver/)
|
||||
|
||||
Develop: [](https://gitlab.com/psono/psono-fileserver/commits/develop) [](https://gitlab.com/psono/psono-fileserver/commits/develop)
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user