mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
build: also push git tag builds
This commit is contained in:
parent
2b374a2073
commit
b65f108917
4
.github/workflows/build-multiarch.yml
vendored
4
.github/workflows/build-multiarch.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
|||||||
itzg/minecraft-server
|
itzg/minecraft-server
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=tag,enable=${{ matrix.variant == 'java17' }}
|
type=ref,event=tag,enable=${{ matrix.variant == 'java17' }}
|
||||||
type=ref,event=tag,prefix=${{ matrix.variant }}-
|
type=ref,event=tag,suffix=-${{ matrix.variant }}
|
||||||
type=raw,value=${{ matrix.variant }}
|
type=raw,value=${{ matrix.variant }}
|
||||||
flavor: |
|
flavor: |
|
||||||
latest=${{ matrix.variant == 'java17' }}
|
latest=${{ matrix.variant == 'java17' }}
|
||||||
@ -115,7 +115,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v2.8.0
|
uses: docker/build-push-action@v2.8.0
|
||||||
with:
|
with:
|
||||||
platforms: ${{ matrix.platforms }}
|
platforms: ${{ matrix.platforms }}
|
||||||
push: ${{ github.ref_name == 'master' }}
|
push: ${{ github.ref_type = 'tag' || github.ref_name == 'master' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
# ensure latest base image is used
|
# ensure latest base image is used
|
||||||
pull: true
|
pull: true
|
||||||
|
Loading…
Reference in New Issue
Block a user