Skip to content

Commit e903e44

Browse files
committed
feat: add definitions from 8.1 to 10.1
1 parent 73543a8 commit e903e44

121 files changed

Lines changed: 4322 additions & 0 deletions

File tree

Some content is hidden

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

.github/workflows/v10.0.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: v10.0
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+
- v10.0/*
16+
- .github/workflows/v10.0.yml
17+
pull_request:
18+
branches:
19+
- master
20+
paths:
21+
- v10.0/*
22+
- .github/workflows/v10.0.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@v6
44+
45+
- name: Docker meta
46+
id: meta
47+
uses: docker/metadata-action@v5
48+
with:
49+
github-token: ${{ secrets.GITHUB_TOKEN }}
50+
images: |
51+
webhippie/unifi
52+
quay.io/webhippie/unifi
53+
ghcr.io/dockhippie/unifi
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@v3
60+
61+
- name: Setup Buildx
62+
id: buildx
63+
uses: docker/setup-buildx-action@v3
64+
65+
- name: Hub login
66+
uses: docker/login-action@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@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@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@v6
90+
with:
91+
builder: ${{ steps.buildx.outputs.name }}
92+
context: v10.0/
93+
provenance: false
94+
file: v10.0/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/unifi:10.0-${{ matrix.variant.arch }}
102+
quay.io/webhippie/unifi:10.0-${{ matrix.variant.arch }}
103+
ghcr.io/dockhippie/unifi:10.0-${{ 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@v1
118+
with:
119+
username: ${{ secrets.DOCKER_USERNAME }}
120+
password: ${{ secrets.DOCKER_PASSWORD }}
121+
platforms: linux/amd64,linux/arm64
122+
template: webhippie/unifi:10.0-ARCH
123+
target: webhippie/unifi:10.0
124+
ignore_missing: true
125+
126+
- name: Quay manifest
127+
uses: actionhippie/manifest@v1
128+
with:
129+
username: ${{ secrets.QUAY_USERNAME }}
130+
password: ${{ secrets.QUAY_PASSWORD }}
131+
platforms: linux/amd64,linux/arm64
132+
template: quay.io/webhippie/unifi:10.0-ARCH
133+
target: quay.io/webhippie/unifi:10.0
134+
ignore_missing: true
135+
136+
- name: Ghcr manifest
137+
uses: actionhippie/manifest@v1
138+
with:
139+
username: ${{ github.actor }}
140+
password: ${{ secrets.GITHUB_TOKEN }}
141+
platforms: linux/amd64,linux/arm64
142+
template: ghcr.io/dockhippie/unifi:10.0-ARCH
143+
target: ghcr.io/dockhippie/unifi:10.0
144+
ignore_missing: true
145+
146+
...

.github/workflows/v10.1.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: v10.1
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+
- v10.1/*
16+
- .github/workflows/v10.1.yml
17+
pull_request:
18+
branches:
19+
- master
20+
paths:
21+
- v10.1/*
22+
- .github/workflows/v10.1.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@v6
44+
45+
- name: Docker meta
46+
id: meta
47+
uses: docker/metadata-action@v5
48+
with:
49+
github-token: ${{ secrets.GITHUB_TOKEN }}
50+
images: |
51+
webhippie/unifi
52+
quay.io/webhippie/unifi
53+
ghcr.io/dockhippie/unifi
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@v3
60+
61+
- name: Setup Buildx
62+
id: buildx
63+
uses: docker/setup-buildx-action@v3
64+
65+
- name: Hub login
66+
uses: docker/login-action@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@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@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@v6
90+
with:
91+
builder: ${{ steps.buildx.outputs.name }}
92+
context: v10.1/
93+
provenance: false
94+
file: v10.1/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/unifi:10.1-${{ matrix.variant.arch }}
102+
quay.io/webhippie/unifi:10.1-${{ matrix.variant.arch }}
103+
ghcr.io/dockhippie/unifi:10.1-${{ 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@v1
118+
with:
119+
username: ${{ secrets.DOCKER_USERNAME }}
120+
password: ${{ secrets.DOCKER_PASSWORD }}
121+
platforms: linux/amd64,linux/arm64
122+
template: webhippie/unifi:10.1-ARCH
123+
target: webhippie/unifi:10.1
124+
ignore_missing: true
125+
126+
- name: Quay manifest
127+
uses: actionhippie/manifest@v1
128+
with:
129+
username: ${{ secrets.QUAY_USERNAME }}
130+
password: ${{ secrets.QUAY_PASSWORD }}
131+
platforms: linux/amd64,linux/arm64
132+
template: quay.io/webhippie/unifi:10.1-ARCH
133+
target: quay.io/webhippie/unifi:10.1
134+
ignore_missing: true
135+
136+
- name: Ghcr manifest
137+
uses: actionhippie/manifest@v1
138+
with:
139+
username: ${{ github.actor }}
140+
password: ${{ secrets.GITHUB_TOKEN }}
141+
platforms: linux/amd64,linux/arm64
142+
template: ghcr.io/dockhippie/unifi:10.1-ARCH
143+
target: ghcr.io/dockhippie/unifi:10.1
144+
ignore_missing: true
145+
146+
...

0 commit comments

Comments
 (0)