diff --git a/.gitea/workflows/gitea-ci.yml b/.gitea/workflows/gitea-ci.yml index 42d10ed..05250b3 100755 --- a/.gitea/workflows/gitea-ci.yml +++ b/.gitea/workflows/gitea-ci.yml @@ -18,12 +18,12 @@ jobs: uses: docker/setup-buildx-action@v2 with: install: true - # - name: Log in to Container registry - # uses: docker/login-action@v2 - # with: - # registry: git.mahdium.ir - # username: ${{ secrets.USERNAME }} - # password: ${{ secrets.PASSWORD }} + - name: Log in to Container registry + uses: docker/login-action@v2 + with: + registry: git.mahdium.ir + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} # - name: Cache Docker layers # id: cache-layers # uses: actions/cache@v3 @@ -44,7 +44,7 @@ jobs: with: context: . 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 }} cache-from: type=registry,ref=user/app:latest cache-to: type=inline