Упрощена конфигурация docker-build.yml: удалены шаги для извлечения метаданных, изменены теги для сборки и пуша Docker образа.
Some checks failed
docker-build / Build image (push) Failing after 12s
Some checks failed
docker-build / Build image (push) Failing after 12s
This commit is contained in:
@@ -24,17 +24,12 @@ jobs:
|
|||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.PUSH_TOKEN }}
|
password: ${{ secrets.PUSH_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for
|
|
||||||
id: meta
|
|
||||||
uses: docker/metadata-action@v5
|
|
||||||
with:
|
|
||||||
images: ${{ gitea.repository }}
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: push
|
id: push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: |
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
$GITHUB_REPOSITORY:${GITHUB_REF#refs/tags/}
|
||||||
|
$GITHUB_REPOSITORY:latest
|
||||||
|
Reference in New Issue
Block a user