chore: обновить docker workflow для использования динамических тегов образов
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m20s

This commit is contained in:
2026-03-30 22:35:05 +02:00
parent 28c4e08bb6
commit 288ad6d489

View File

@@ -17,6 +17,10 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set image tag
id: tag
run: echo "name=${{ vars.REGISTRY_URL }}/$(echo '${{ github.repository_owner }}' | tr '[:upper:]' '[:lower:]')/santeh-ray:latest" >> $GITHUB_OUTPUT
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
@@ -29,6 +33,6 @@ jobs:
with:
context: .
push: ${{ github.event_name == 'push' }}
tags: ${{ vars.REGISTRY_URL }}/${{ github.repository_owner }}/santeh-ray:latest
tags: ${{ steps.tag.outputs.name }}
cache-from: type=gha
cache-to: type=gha,mode=max