mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 06:12:27 +00:00
ci: fixed image tagging for master branch
This commit is contained in:
parent
3e9e64e788
commit
53a8151d26
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build-multiarch.yml
vendored
8
.github/workflows/build-multiarch.yml
vendored
|
@ -115,14 +115,14 @@ jobs:
|
||||||
${{ github.repository_owner }}/minecraft-server
|
${{ github.repository_owner }}/minecraft-server
|
||||||
ghcr.io/${{ github.repository_owner }}/minecraft-server
|
ghcr.io/${{ github.repository_owner }}/minecraft-server
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=tag,enable=${{ matrix.variant == 'java17' && github.ref == 'master' }}
|
type=ref,event=tag,enable=${{ matrix.variant == 'java17' && github.ref_name == 'master' }}
|
||||||
type=ref,event=tag,suffix=-${{ matrix.variant }}
|
type=ref,event=tag,suffix=-${{ matrix.variant }}
|
||||||
type=ref,event=branch,suffix=-${{ matrix.variant }},enable=${{ github.ref != 'master' }}
|
type=ref,event=branch,suffix=-${{ matrix.variant }},enable=${{ github.ref_name != 'master' }}
|
||||||
type=raw,value=${{ matrix.variant }},enable=${{ github.ref == 'master' }}
|
type=raw,value=${{ matrix.variant }},enable=${{ github.ref_name == 'master' }}
|
||||||
# NOTE this identifies which variant will be published as "latest", which isn't
|
# NOTE this identifies which variant will be published as "latest", which isn't
|
||||||
# necessarily the newest version of Java
|
# necessarily the newest version of Java
|
||||||
flavor: |
|
flavor: |
|
||||||
latest=${{ matrix.variant == 'java17' && github.ref == 'master' }}
|
latest=${{ matrix.variant == 'java17' && github.ref_name == 'master' }}
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.authors=Geoff Bourne <itzgeoff@gmail.com>
|
org.opencontainers.image.authors=Geoff Bourne <itzgeoff@gmail.com>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue