X-Git-Url: http://these/git/?a=blobdiff_plain;f=deploy.sh;h=e919779a57b6b4b86c2056c4c088f8376176add8;hb=c3ab9e74f8775f4b811866d2675b00f9702bde3d;hp=121eb77276ccca1c9d468414bcdd8a28159c2781;hpb=698db7fc0be25efad03d65dcf329313e54ba121a;p=lemmy-ui.git diff --git a/deploy.sh b/deploy.sh index 121eb77..e919779 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,9 +1,16 @@ #!/bin/bash +set -e new_tag="$1" -sudo docker build . --tag dessalines/lemmy-ui:$new_tag -sudo docker push dessalines/lemmy-ui:$new_tag +# Old deploy +# sudo docker build . --tag dessalines/lemmy-ui:$new_tag --platform=linux/amd64 --push +# sudo docker build . --tag dessalines/lemmy-ui:$new_tag --platform=linux/amd64 +# sudo docker push dessalines/lemmy-ui:$new_tag + +# Upgrade version +yarn version --new-version $new_tag +git push git tag $new_tag git push origin $new_tag