edit build.yml - try if for tag
Build and Push Docker Image / build_and_push (push) Failing after 38s Details

This commit is contained in:
Nicolas CARON 2024-04-03 11:04:58 +02:00
parent b028120e47
commit 053066b511
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ jobs:
context: . context: .
push: true push: true
tags: | tags: |
git.coopgo.io/${{gitea.repository}}:${{ gitea.ref_name }}${{ steps.tag_or_branch.outputs.is_tag == 'true' ? '' : ',latest' }} git.coopgo.io/${{gitea.repository}}:${{ gitea.ref_name }}
git.coopgo.io/${{gitea.repository}}:${{ steps.tag_or_branch.outputs.is_tag == 'true' ? '' : ',latest' }}
build-args: | build-args: |
ACCESS_TOKEN_USR=${{gitea.actor}} ACCESS_TOKEN_USR=${{gitea.actor}}
ACCESS_TOKEN_PWD=${{gitea.token}} ACCESS_TOKEN_PWD=${{gitea.token}}