логи
Gitea Actions Demo / build_and_push (push) Failing after 9s Details

This commit is contained in:
artem 2024-05-04 22:32:26 +03:00
parent b3fe69a4f4
commit 82a14b81b3
1 changed files with 5 additions and 2 deletions

View File

@ -16,17 +16,20 @@ jobs:
registry: gitea.webart-tech.ru
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Deploy
run: |
echo https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy
- name: Build and push
uses: https://github.com/docker/build-push-action@v5
with:
context: .
push: true
tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }}
tags: gitea.webart-tech.ru/webart/fyrox-platformer:${{ gitea.sha }}
- name: Deploy
run: |
git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy
cd ./deploy
sed -i -E 's/platformer:.+/platformer:${{ gitea.sha }}/g' fyrox-platformer.yml
sed -i -E 's/fyrox-platformer:.+/fyrox-platformer:${{ gitea.sha }}/g' fyrox-platformer.yml
git config --global user.email "deploy@deploy.deploy"
git commit -am 'auto-deploy'
git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy