fix workflows for multiple branches
All checks were successful
test-backend / test-x86_64 (push) Successful in 23s

This commit is contained in:
ІО-23 Шмуляр Олег 2025-05-25 22:34:47 +03:00
parent fd3fa4b531
commit d60b5a0f0f
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ jobs:
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/sdlc-project
git fetch gitea
git checkout gitea/master
git checkout ${{ gitea.ref_name }}
- name: Build docker image
run: docker build backend/ -f backend/Dockerfile-x86_64 -t 10.5.1.5:5000/sdlc/x86_64
- name: Push docker image to registry

View File

@ -13,7 +13,7 @@ jobs:
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/sdlc-project
git fetch gitea
git checkout gitea/master
git checkout ${{ gitea.ref_name }}
- name: Deploy testing environment
shell: sh
run: docker-compose -f backend/docker-compose-x86_64.yaml up -d --force-recreate