Gitea actions final fix
Some checks failed
release / Build and push Docker image (push) Failing after 20s

This commit is contained in:
2025-01-04 17:41:31 +03:30
parent aaee37c359
commit cc8d5cb235

View File

@@ -21,22 +21,22 @@ jobs:
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
uses: docker/login-action@3
with:
registry: git.mahdium.ir
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: git.mahdium.ir/mahdium/cats-of-mastodon-telegram-bot
- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
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 }}
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 }}