chore: обновить docker workflow для использования динамических тегов образов
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m20s
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m20s
This commit is contained in:
@@ -17,6 +17,10 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
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
|
- name: Login to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -29,6 +33,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name == 'push' }}
|
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-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
Reference in New Issue
Block a user