From e3f6c653dd9bfb8c4eefccc873c22d4a9da55d5c Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Mohammadi Date: Sat, 4 Jan 2025 17:26:19 +0330 Subject: [PATCH] Try to fix gitea actions --- .gitea/workflows/gitea-ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/gitea-ci.yml b/.gitea/workflows/gitea-ci.yml index 1f713ec..87962d5 100755 --- a/.gitea/workflows/gitea-ci.yml +++ b/.gitea/workflows/gitea-ci.yml @@ -36,12 +36,10 @@ jobs: uses: docker/metadata-action@v4 with: images: git.mahdium.ir/mahdium/cats-of-mastodon-telegram-bot - - name: Build and push Docker image + - name: Build and push uses: docker/build-push-action@v5 with: - context: . - push: true - # tags: git.mahdium.ir/mahdium/cats-of-mastodon-telegram-bot${{gitea.sha}},git.mahdium.ir/mahdium/cats-of-mastodon-telegram-bot:latest - # labels: ${{ steps.meta.outputs.labels }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + context: . + push: true + tags: | + git.mahdium.ir/mahdium/cats-of-mastodon-telegram-bot:latest