Skip to content

Commit 08d8f94

Browse files
committed
feat: add versions from 20.3 up to 21.11
1 parent ceefbf3 commit 08d8f94

File tree

98 files changed

+4052
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+4052
-4
lines changed

.github/workflows/v20.3.yml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
---
2+
# yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json
3+
name: v20.3
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
7+
cancel-in-progress: true
8+
9+
"on":
10+
workflow_dispatch:
11+
push:
12+
branches:
13+
- master
14+
paths:
15+
- v20.3/*
16+
- .github/workflows/v20.3.yml
17+
pull_request:
18+
branches:
19+
- master
20+
paths:
21+
- v20.3/*
22+
- .github/workflows/v20.3.yml
23+
24+
permissions:
25+
contents: read
26+
packages: write
27+
28+
jobs:
29+
docker:
30+
runs-on: ubuntu-latest
31+
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
variant:
36+
- arch: amd64
37+
platform: linux/amd64
38+
- arch: arm64
39+
platform: linux/arm64
40+
41+
steps:
42+
- name: Checkout source
43+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
44+
45+
- name: Docker meta
46+
id: meta
47+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
48+
with:
49+
github-token: ${{ secrets.GITHUB_TOKEN }}
50+
images: |
51+
webhippie/minecraft-neoforge
52+
quay.io/webhippie/minecraft-neoforge
53+
ghcr.io/dockhippie/minecraft-neoforge
54+
labels: |
55+
org.opencontainers.image.vendor=Webhippie
56+
maintainer=Thomas Boerger <thomas@webhippie.de>
57+
58+
- name: Setup QEMU
59+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
60+
61+
- name: Setup Buildx
62+
id: buildx
63+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
64+
65+
- name: Hub login
66+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
67+
if: github.event_name != 'pull_request'
68+
with:
69+
username: ${{ secrets.DOCKER_USERNAME }}
70+
password: ${{ secrets.DOCKER_PASSWORD }}
71+
72+
- name: Quay login
73+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
74+
if: github.event_name != 'pull_request'
75+
with:
76+
registry: quay.io
77+
username: ${{ secrets.QUAY_USERNAME }}
78+
password: ${{ secrets.QUAY_PASSWORD }}
79+
80+
- name: Ghcr login
81+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
82+
if: github.event_name != 'pull_request'
83+
with:
84+
registry: ghcr.io
85+
username: ${{ github.actor }}
86+
password: ${{ secrets.GITHUB_TOKEN }}
87+
88+
- name: Build image
89+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
90+
with:
91+
builder: ${{ steps.buildx.outputs.name }}
92+
context: v20.3/
93+
provenance: false
94+
file: v20.3/Dockerfile.${{ matrix.variant.arch }}
95+
platforms: ${{ matrix.variant.platform }}
96+
push: ${{ github.event_name != 'pull_request' }}
97+
labels: ${{ steps.meta.outputs.labels }}
98+
cache-from: type=gha
99+
cache-to: type=gha,mode=max
100+
tags: |
101+
webhippie/minecraft-neoforge:20.3-${{ matrix.variant.arch }}
102+
quay.io/webhippie/minecraft-neoforge:20.3-${{ matrix.variant.arch }}
103+
ghcr.io/dockhippie/minecraft-neoforge:20.3-${{ matrix.variant.arch }}
104+
105+
manifest:
106+
runs-on: ubuntu-latest
107+
if: github.event_name != 'pull_request'
108+
109+
needs:
110+
- docker
111+
112+
steps:
113+
- name: Wait something
114+
run: sleep 60
115+
116+
- name: Hub manifest
117+
uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1
118+
with:
119+
username: ${{ secrets.DOCKER_USERNAME }}
120+
password: ${{ secrets.DOCKER_PASSWORD }}
121+
platforms: linux/amd64,linux/arm64
122+
template: webhippie/minecraft-neoforge:20.3-ARCH
123+
target: webhippie/minecraft-neoforge:20.3
124+
ignore_missing: true
125+
126+
- name: Quay manifest
127+
uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1
128+
with:
129+
username: ${{ secrets.QUAY_USERNAME }}
130+
password: ${{ secrets.QUAY_PASSWORD }}
131+
platforms: linux/amd64,linux/arm64
132+
template: quay.io/webhippie/minecraft-neoforge:20.3-ARCH
133+
target: quay.io/webhippie/minecraft-neoforge:20.3
134+
ignore_missing: true
135+
136+
- name: Ghcr manifest
137+
uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1
138+
with:
139+
username: ${{ github.actor }}
140+
password: ${{ secrets.GITHUB_TOKEN }}
141+
platforms: linux/amd64,linux/arm64
142+
template: ghcr.io/dockhippie/minecraft-neoforge:20.3-ARCH
143+
target: ghcr.io/dockhippie/minecraft-neoforge:20.3
144+
ignore_missing: true
145+
146+
...

.github/workflows/v20.4.yml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
---
2+
# yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json
3+
name: v20.4
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
7+
cancel-in-progress: true
8+
9+
"on":
10+
workflow_dispatch:
11+
push:
12+
branches:
13+
- master
14+
paths:
15+
- v20.4/*
16+
- .github/workflows/v20.4.yml
17+
pull_request:
18+
branches:
19+
- master
20+
paths:
21+
- v20.4/*
22+
- .github/workflows/v20.4.yml
23+
24+
permissions:
25+
contents: read
26+
packages: write
27+
28+
jobs:
29+
docker:
30+
runs-on: ubuntu-latest
31+
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
variant:
36+
- arch: amd64
37+
platform: linux/amd64
38+
- arch: arm64
39+
platform: linux/arm64
40+
41+
steps:
42+
- name: Checkout source
43+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
44+
45+
- name: Docker meta
46+
id: meta
47+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
48+
with:
49+
github-token: ${{ secrets.GITHUB_TOKEN }}
50+
images: |
51+
webhippie/minecraft-neoforge
52+
quay.io/webhippie/minecraft-neoforge
53+
ghcr.io/dockhippie/minecraft-neoforge
54+
labels: |
55+
org.opencontainers.image.vendor=Webhippie
56+
maintainer=Thomas Boerger <thomas@webhippie.de>
57+
58+
- name: Setup QEMU
59+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
60+
61+
- name: Setup Buildx
62+
id: buildx
63+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
64+
65+
- name: Hub login
66+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
67+
if: github.event_name != 'pull_request'
68+
with:
69+
username: ${{ secrets.DOCKER_USERNAME }}
70+
password: ${{ secrets.DOCKER_PASSWORD }}
71+
72+
- name: Quay login
73+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
74+
if: github.event_name != 'pull_request'
75+
with:
76+
registry: quay.io
77+
username: ${{ secrets.QUAY_USERNAME }}
78+
password: ${{ secrets.QUAY_PASSWORD }}
79+
80+
- name: Ghcr login
81+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
82+
if: github.event_name != 'pull_request'
83+
with:
84+
registry: ghcr.io
85+
username: ${{ github.actor }}
86+
password: ${{ secrets.GITHUB_TOKEN }}
87+
88+
- name: Build image
89+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
90+
with:
91+
builder: ${{ steps.buildx.outputs.name }}
92+
context: v20.4/
93+
provenance: false
94+
file: v20.4/Dockerfile.${{ matrix.variant.arch }}
95+
platforms: ${{ matrix.variant.platform }}
96+
push: ${{ github.event_name != 'pull_request' }}
97+
labels: ${{ steps.meta.outputs.labels }}
98+
cache-from: type=gha
99+
cache-to: type=gha,mode=max
100+
tags: |
101+
webhippie/minecraft-neoforge:20.4-${{ matrix.variant.arch }}
102+
quay.io/webhippie/minecraft-neoforge:20.4-${{ matrix.variant.arch }}
103+
ghcr.io/dockhippie/minecraft-neoforge:20.4-${{ matrix.variant.arch }}
104+
105+
manifest:
106+
runs-on: ubuntu-latest
107+
if: github.event_name != 'pull_request'
108+
109+
needs:
110+
- docker
111+
112+
steps:
113+
- name: Wait something
114+
run: sleep 60
115+
116+
- name: Hub manifest
117+
uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1
118+
with:
119+
username: ${{ secrets.DOCKER_USERNAME }}
120+
password: ${{ secrets.DOCKER_PASSWORD }}
121+
platforms: linux/amd64,linux/arm64
122+
template: webhippie/minecraft-neoforge:20.4-ARCH
123+
target: webhippie/minecraft-neoforge:20.4
124+
ignore_missing: true
125+
126+
- name: Quay manifest
127+
uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1
128+
with:
129+
username: ${{ secrets.QUAY_USERNAME }}
130+
password: ${{ secrets.QUAY_PASSWORD }}
131+
platforms: linux/amd64,linux/arm64
132+
template: quay.io/webhippie/minecraft-neoforge:20.4-ARCH
133+
target: quay.io/webhippie/minecraft-neoforge:20.4
134+
ignore_missing: true
135+
136+
- name: Ghcr manifest
137+
uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1
138+
with:
139+
username: ${{ github.actor }}
140+
password: ${{ secrets.GITHUB_TOKEN }}
141+
platforms: linux/amd64,linux/arm64
142+
template: ghcr.io/dockhippie/minecraft-neoforge:20.4-ARCH
143+
target: ghcr.io/dockhippie/minecraft-neoforge:20.4
144+
ignore_missing: true
145+
146+
...

0 commit comments

Comments
 (0)