логи
Gitea Actions Demo / build_and_push (push) Successful in 14s
Details
Gitea Actions Demo / build_and_push (push) Successful in 14s
Details
This commit is contained in:
parent
6af29520ae
commit
3b843eadb7
|
|
@ -21,12 +21,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.webart-tech.ru/webart/fyrox-platformer:${{ gitea.sha }}
|
tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }}
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy
|
git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy
|
||||||
cd ./deploy
|
cd ./deploy
|
||||||
sed -i -E 's/fyrox-platformer:.+/fyrox-platformer:${{ gitea.sha }}/g' fyrox-platformer.yml
|
sed -i -E 's/platformer:.+/platformer:${{ gitea.sha }}/g' fyrox-platformer.yml
|
||||||
git config --global user.email "deploy@deploy.deploy"
|
git config --global user.email "deploy@deploy.deploy"
|
||||||
git commit -am 'auto-deploy'
|
git commit -am 'auto-deploy'
|
||||||
git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy
|
git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy
|
||||||
Loading…
Reference in New Issue