[DO-1171] fixed gitea actions (#4)

Reviewed-on: https://git.avroid.tech/Docker/tavro-build-linux/pulls/4
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
Co-committed-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
This commit is contained in:
aleksandr.vodyanov
2024-10-08 13:00:43 +03:00
committed by Aleksandr Vodyanov
parent 0f23f14d6a
commit 52abc92414
2 changed files with 11 additions and 10 deletions

View File

@@ -27,14 +27,14 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3
- name: "Build image and push"
- name: "Build image"
run: |
make build
- name: "Push image"
run: |
make push
if: gitea.branch_name == 'master'
if: ${{ gitea.ref == 'refs/heads/master' }}
- name: "Clear image"
run: |
@@ -46,4 +46,4 @@ jobs:
git config user.email "svc-jenkins@avroid.tech"
git tag $(make getTag)
git push origin $(make getTag)
if: gitea.branch_name == 'master'
if: ${{ gitea.ref == 'refs/heads/master' }}