mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-27 16:56:57 +00:00
Update docker-build.yml
Pulled out the action docs this time...
This commit is contained in:
parent
45457c5b38
commit
cad364e407
7
.github/workflows/docker-build.yml
vendored
7
.github/workflows/docker-build.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user