mirror of
https://github.com/wekan/wekan.git
synced 2026-01-24 18:26:10 +01:00
File content moved to releases/docker-build.sh
Thanks to xet7 !
This commit is contained in:
parent
422514e907
commit
98e5adfba8
1 changed files with 0 additions and 35 deletions
|
|
@ -1,35 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Push locally built docker images to Quay.io and Docker Hub.
|
||||
|
||||
# Check that there is 2 parameters of
|
||||
# of Wekan version number:
|
||||
|
||||
if [ $# -ne 2 ]
|
||||
then
|
||||
echo "Usage: ./push-docker.sh DOCKERBUILDTAG WEKANVERSION"
|
||||
echo "Example: ./push-docker.sh 12345 5.70"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#sudo apt -y install skopeo
|
||||
#~/repos/wekan/releases/docker-registry-sync.sh
|
||||
|
||||
# Quay
|
||||
docker tag $1 quay.io/wekan/wekan:v$2
|
||||
docker push quay.io/wekan/wekan:v$2
|
||||
docker tag $1 quay.io/wekan/wekan:latest
|
||||
docker push quay.io/wekan/wekan:latest
|
||||
|
||||
|
||||
# Docker Hub
|
||||
docker tag $1 wekanteam/wekan:v$2
|
||||
docker push wekanteam/wekan:v$2
|
||||
docker tag $1 wekanteam/wekan:latest
|
||||
docker push wekanteam/wekan:latest
|
||||
|
||||
# GitHub
|
||||
docker tag $1 ghcr.io/wekan/wekan:v$2
|
||||
docker push ghcr.io/wekan/wekan:v$2
|
||||
docker tag $1 ghcr.io/wekan/wekan:latest
|
||||
docker push ghcr.io/wekan/wekan:latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue