TRY TO FIX CI

This commit is contained in:
2025-01-04 16:18:57 +03:30
parent 68895724d7
commit 4fc971d1b4

View File

@@ -18,12 +18,12 @@ jobs:
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
with: with:
install: true install: true
# - name: Log in to Container registry - name: Log in to Container registry
# uses: docker/login-action@v2 uses: docker/login-action@v2
# with: with:
# registry: git.mahdium.ir registry: git.mahdium.ir
# username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
# password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
# - name: Cache Docker layers # - name: Cache Docker layers
# id: cache-layers # id: cache-layers
# uses: actions/cache@v3 # uses: actions/cache@v3
@@ -44,7 +44,7 @@ jobs:
with: with:
context: . context: .
push: true push: true
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 }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=user/app:latest cache-from: type=registry,ref=user/app:latest
cache-to: type=inline cache-to: type=inline