Update docker-build.yml

Pulled out the action docs this time...
This commit is contained in:
DaanSelen 2025-06-04 11:01:38 +02:00 committed by GitHub
parent 45457c5b38
commit cad364e407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,18 +46,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Extract metadata (tags, labels)
- name: Docker meta by docs https://github.com/docker/metadata-action
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.DOCKER_HUB_PREFIX }}/${{ env.DOCKER_IMAGE }}
${{ env.GHCR_PREFIX }}/${{ env.DOCKER_IMAGE }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern=latest,enable={{is_tag}}
type=raw,value=main,enable={{ github.event_name == 'push' && is_default_branch }}
type=raw,value=nightly,enable={{ github.event_name == 'push' && is_default_branch }}
- name: Build and export (multi-arch)
uses: docker/build-push-action@v6