Compare commits

..

174 Commits

Author SHA1 Message Date
ed15af0b48 🚀RELEASE 3.15.120 [CI SKIP] 2022-10-01 00:28:26 +00:00
645b90e2e4 🚀RELEASE 3.15.119 [CI SKIP] 2022-10-01 00:10:42 +00:00
24d6aea197 🚀RELEASE 3.15.118 [CI SKIP] 2022-09-30 00:28:37 +00:00
a95c840377 🚀RELEASE 3.15.117 [CI SKIP] 2022-09-30 00:10:34 +00:00
4461fd9eba 🚀RELEASE 3.15.116 [CI SKIP] 2022-09-29 00:28:24 +00:00
389e57981d 🚀RELEASE 3.15.115 [CI SKIP] 2022-09-29 00:10:38 +00:00
c8e247a8d2 🚀RELEASE 3.15.114 [CI SKIP] 2022-09-28 00:11:28 +00:00
0161940b61 🚀RELEASE 3.15.113 [CI SKIP] 2022-09-25 00:10:56 +00:00
9ee417afec 🚀RELEASE 3.15.112 [CI SKIP] 2022-09-23 00:10:37 +00:00
5d9461ebb6 🚀RELEASE 3.15.111 [CI SKIP] 2022-09-20 00:03:37 +00:00
dbb18cd901 🚀RELEASE 3.15.110 [CI SKIP] 2022-09-19 00:03:26 +00:00
1196544347 🚀RELEASE 3.15.109 [CI SKIP] 2022-09-18 00:03:33 +00:00
551f4d41bd 🚀RELEASE 3.15.108 [CI SKIP] 2022-09-14 00:03:45 +00:00
a2dd899317 🚀RELEASE 3.15.107 [CI SKIP] 2022-09-13 00:03:26 +00:00
f501bc9151 🚀RELEASE 3.15.106 [CI SKIP] 2022-09-12 00:03:43 +00:00
12d04ada09 🚀RELEASE 3.15.105 [CI SKIP] 2022-09-11 00:03:45 +00:00
9b1afc6904 🚀RELEASE 3.15.104 [CI SKIP] 2022-09-10 00:03:36 +00:00
fbdb6d4ccb 🚀RELEASE 3.15.103 [CI SKIP] 2022-09-09 00:03:43 +00:00
97c9230051 🚀RELEASE 3.15.102 [CI SKIP] 2022-09-08 00:03:45 +00:00
221171a751 🚀RELEASE 3.15.101 [CI SKIP] 2022-09-03 00:22:02 +00:00
5fab92ef49 🚀RELEASE 3.15.100 [CI SKIP] 2022-08-28 00:21:44 +00:00
fc20ed668d 🚀RELEASE 3.15.99 [CI SKIP] 2022-08-27 00:21:25 +00:00
9bffb4b9e1 🚀RELEASE 3.15.98 [CI SKIP] 2022-08-26 00:21:26 +00:00
288f663dd5 🚀RELEASE 3.15.97 [CI SKIP] 2022-08-25 00:21:23 +00:00
5c1bb07237 🚀RELEASE 3.15.96 [CI SKIP] 2022-08-24 00:21:22 +00:00
1e8fc5291a 🚀RELEASE 3.15.95 [CI SKIP] 2022-08-23 00:21:16 +00:00
f0dd913d58 🚀RELEASE 3.15.94 [CI SKIP] 2022-08-21 00:21:37 +00:00
6a336b7aec 🚀RELEASE 3.15.93 [CI SKIP] 2022-08-19 00:21:44 +00:00
4e353fd237 🚀RELEASE 3.15.92 [CI SKIP] 2022-08-17 00:21:27 +00:00
bc141c61dc 🚀RELEASE 3.15.91 [CI SKIP] 2022-08-15 00:21:22 +00:00
8f6b4e5d09 🚀RELEASE 3.15.90 [CI SKIP] 2022-08-14 00:21:34 +00:00
52d049e2c8 🚀RELEASE 3.15.89 [CI SKIP] 2022-08-13 00:21:25 +00:00
5b626e47eb 🚀RELEASE 3.15.88 [CI SKIP] 2022-08-12 00:21:26 +00:00
c207dbf2d8 🚀RELEASE 3.15.87 [CI SKIP] 2022-08-11 00:21:19 +00:00
6d64742528 🚀RELEASE 3.15.86 [CI SKIP] 2022-08-10 00:21:18 +00:00
4e69e6c566 🚀RELEASE 3.15.85 [CI SKIP] 2022-08-09 00:21:24 +00:00
8cfe23be17 🚀RELEASE 3.15.84 [CI SKIP] 2022-08-08 00:21:27 +00:00
6e269ccb74 🚀RELEASE 3.15.83 [CI SKIP] 2022-08-07 00:21:37 +00:00
75fab015bc 🚀RELEASE 3.15.82 [CI SKIP] 2022-08-06 00:21:23 +00:00
57260fcf79 🚀RELEASE 3.15.81 [CI SKIP] 2022-08-05 00:21:33 +00:00
8136076aed 🚀RELEASE 3.15.80 [CI SKIP] 2022-07-31 00:21:40 +00:00
ead02ade33 🚀RELEASE 3.15.79 [CI SKIP] 2022-07-30 00:21:27 +00:00
40fc8db5a9 🚀RELEASE 3.15.78 [CI SKIP] 2022-07-29 00:21:25 +00:00
b0104ff31d 🚀RELEASE 3.15.77 [CI SKIP] 2022-07-28 00:21:24 +00:00
9ee84da4af 🚀RELEASE 3.15.76 [CI SKIP] 2022-07-27 00:21:23 +00:00
d1755e0b76 🚀RELEASE 3.15.75 [CI SKIP] 2022-07-24 00:21:33 +00:00
459cd42fb8 🚀RELEASE 3.15.74 [CI SKIP] 2022-07-23 00:21:27 +00:00
f8ab36a970 🚀RELEASE 3.15.73 [CI SKIP] 2022-07-22 00:21:23 +00:00
e9b3f7a56b 🚀RELEASE 3.15.72 [CI SKIP] 2022-07-21 00:21:29 +00:00
29ba1c3cb7 🚀RELEASE 3.15.71 [CI SKIP] 2022-07-20 00:18:04 +00:00
152c7418ce 🚀RELEASE 3.15.70 [CI SKIP] 2022-07-19 00:17:52 +00:00
89dca28155 Typo
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-07-18 18:30:56 +02:00
8654643138 🚀RELEASE 3.15.69 [CI SKIP] 2022-07-18 18:30:08 +02:00
46332f4bfc Merge pull request 'Update registry.odit.services/hub/library/alpine Docker tag to v3.16' (#8) from renovate/registry.odit.services-hub-library-alpine-3.x into main
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: #8
2022-07-18 16:29:20 +00:00
9ef64cd501 Updated ci confi 2022-07-18 18:28:53 +02:00
8678157b65 Alpine 3.15 2022-07-18 18:25:28 +02:00
8936d13742 🚀RELEASE 3.15.68 [CI SKIP] 2022-07-18 16:14:23 +00:00
da4408558a Merge pull request 'Update registry.odit.services/hub/library/node Docker tag to v18.6.0' (#15) from renovate/registry.odit.services-hub-library-node-18.x into main
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #15
2022-07-18 16:13:36 +00:00
95c7e015de 🚀RELEASE 3.15.67 [CI SKIP] 2022-07-18 00:19:18 +00:00
79a085ac6e 🚀RELEASE 3.15.66 [CI SKIP] 2022-07-17 00:11:09 +00:00
dcb24d1e1a 🚀RELEASE 3.15.65 [CI SKIP] 2022-07-16 00:08:22 +00:00
9d044ef6ec 🚀RELEASE 3.15.64 [CI SKIP] 2022-07-15 00:07:59 +00:00
f932822db7 Update registry.odit.services/hub/library/node Docker tag to v18.6.0 2022-07-14 18:48:10 +00:00
a53167644a 🚀RELEASE 3.15.63 [CI SKIP] 2022-07-14 00:03:31 +00:00
98e6a459a8 🚀RELEASE 3.15.62 [CI SKIP] 2022-07-13 00:01:14 +00:00
14433d6251 🚀RELEASE 3.15.61 [CI SKIP] 2022-07-11 00:24:43 +00:00
3978eca2b7 🚀RELEASE 3.15.60 [CI SKIP] 2022-07-10 00:18:11 +00:00
b50571720e 🚀RELEASE 3.15.59 [CI SKIP] 2022-07-09 00:14:37 +00:00
eb05308e4f 🚀RELEASE 3.15.58 [CI SKIP] 2022-07-08 00:11:42 +00:00
7d5f4c5eef 🚀RELEASE 3.15.57 [CI SKIP] 2022-07-07 00:07:02 +00:00
c6851062c9 🚀RELEASE 3.15.56 [CI SKIP] 2022-07-06 00:02:12 +00:00
cf85fc6524 🚀RELEASE 3.15.55 [CI SKIP] 2022-07-05 00:27:31 +00:00
08289f3978 🚀RELEASE 3.15.54 [CI SKIP] 2022-06-28 00:29:37 +00:00
25c11cb5c2 🚀RELEASE 3.15.53 [CI SKIP] 2022-06-27 00:29:32 +00:00
e1bc794e2d 🚀RELEASE 3.15.52 [CI SKIP] 2022-06-26 00:30:20 +00:00
b0ecaa75bc 🚀RELEASE 3.15.51 [CI SKIP] 2022-06-25 00:29:54 +00:00
b12cc4d419 🚀RELEASE 3.15.50 [CI SKIP] 2022-06-24 00:29:33 +00:00
6a676d89a3 🚀RELEASE 3.15.49 [CI SKIP] 2022-06-23 00:29:40 +00:00
78182411af 🚀RELEASE 3.15.48 [CI SKIP] 2022-06-22 00:29:49 +00:00
db1a1ed5f0 🚀RELEASE 3.15.47 [CI SKIP] 2022-06-19 00:30:11 +00:00
cc4dc5ef20 🚀RELEASE 3.15.46 [CI SKIP] 2022-06-18 00:29:29 +00:00
a7ff91092c 🚀RELEASE 3.15.45 [CI SKIP] 2022-06-17 00:29:33 +00:00
8f82629079 🚀RELEASE 3.15.44 [CI SKIP] 2022-06-16 00:29:32 +00:00
1cac370907 🚀RELEASE 3.15.43 [CI SKIP] 2022-06-15 00:29:31 +00:00
f87eefd791 🚀RELEASE 3.15.42 [CI SKIP] 2022-06-14 00:29:33 +00:00
746d699285 🚀RELEASE 3.15.41 [CI SKIP] 2022-06-13 00:30:12 +00:00
f9258d8943 🚀RELEASE 3.15.40 [CI SKIP] 2022-06-12 00:24:50 +00:00
f363467d36 🚀RELEASE 3.15.39 [CI SKIP] 2022-06-11 00:24:09 +00:00
7818b5942a 🚀RELEASE 3.15.38 [CI SKIP] 2022-06-10 00:23:52 +00:00
94eeb28f6c 🚀RELEASE 3.15.37 [CI SKIP] 2022-06-09 00:23:50 +00:00
b9e8923876 🚀RELEASE 3.15.36 [CI SKIP] 2022-06-08 00:23:53 +00:00
2070d3424a 🚀RELEASE 3.15.35 [CI SKIP] 2022-06-07 17:19:04 +00:00
e8f3992b91 Merge pull request 'Update registry.odit.services/hub/library/node Docker tag to v18.3.0' (#9) from renovate/registry.odit.services-hub-library-node-18.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #9
Bump 
2022-06-07 17:18:29 +00:00
88120a7bd0 Update registry.odit.services/hub/library/node Docker tag to v18.3.0 2022-06-06 18:48:53 +00:00
d2acc6c444 🚀RELEASE 3.15.34 [CI SKIP] 2022-06-05 00:24:55 +00:00
10b711155e 🚀RELEASE 3.15.33 [CI SKIP] 2022-06-04 00:23:48 +00:00
1bb5af569d 🚀RELEASE 3.15.32 [CI SKIP] 2022-06-03 00:23:57 +00:00
8c2c3ff001 🚀RELEASE 3.15.31 [CI SKIP] 2022-06-02 00:24:05 +00:00
944d355b47 🚀RELEASE 3.15.30 [CI SKIP] 2022-06-01 00:23:53 +00:00
e80298e546 🚀RELEASE 3.15.29 [CI SKIP] 2022-05-31 00:23:48 +00:00
6aab36ec2a 🚀RELEASE 3.15.28 [CI SKIP] 2022-05-29 00:24:50 +00:00
3751f7434e 🚀RELEASE 3.15.27 [CI SKIP] 2022-05-28 00:23:53 +00:00
d6a9fcf77c 🚀RELEASE 3.15.26 [CI SKIP] 2022-05-27 00:24:01 +00:00
f448c67dbb 🚀RELEASE 3.15.25 [CI SKIP] 2022-05-26 00:23:47 +00:00
4a968fd5ce 🚀RELEASE 3.15.24 [CI SKIP] 2022-05-25 00:18:28 +00:00
354b8c6edb 🚀RELEASE 3.15.23 [CI SKIP] 2022-05-24 14:44:41 +00:00
ebac3eaaa6 Merge branch 'main' into renovate/registry.odit.services-hub-library-alpine-3.x 2022-05-24 14:43:52 +00:00
61b0d4669d Merge pull request 'Update registry.odit.services/hub/library/node Docker tag to v18.2.0' (#7) from renovate/registry.odit.services-hub-library-node-18.x into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #7
2022-05-24 14:43:36 +00:00
517e2f3dcd Merge branch 'main' into renovate/registry.odit.services-hub-library-node-18.x 2022-05-24 14:41:57 +00:00
73b53975b5 🚀RELEASE 3.15.22 [CI SKIP] 2022-05-24 00:18:37 +00:00
1e1ea14b18 Update registry.odit.services/hub/library/alpine Docker tag to v3.16 2022-05-23 19:17:40 +00:00
7ef9c84dce 🚀RELEASE 3.15.21 [CI SKIP] 2022-05-23 00:18:32 +00:00
71a2cb587b 🚀RELEASE 3.15.21-0 [CI SKIP] 2022-05-22 00:19:21 +00:00
f125a6ddfc 🚀RELEASE 3.15.20 [CI SKIP] 2022-05-21 00:18:41 +00:00
08cb4ded9e 🚀RELEASE 3.15.19 [CI SKIP] 2022-05-20 00:19:03 +00:00
d926328e23 🚀RELEASE 3.15.18 [CI SKIP] 2022-05-19 00:18:20 +00:00
4deb1d53b7 Update registry.odit.services/hub/library/node Docker tag to v18.2.0 2022-05-18 21:48:43 +00:00
3108e46f3d 🚀RELEASE 3.15.17 [CI SKIP] 2022-05-18 00:18:23 +00:00
85f1e99153 🚀RELEASE 3.15.16 [CI SKIP] 2022-05-17 00:18:22 +00:00
93f3da858b 🚀RELEASE 3.15.15 [CI SKIP] 2022-05-16 00:18:39 +00:00
5f41a56149 🚀RELEASE 3.15.15-0 [CI SKIP] 2022-05-15 00:10:14 +00:00
e8aeb52a81 🚀RELEASE 3.15.14 [CI SKIP] 2022-05-14 00:09:17 +00:00
3d8edb129e 🚀RELEASE 3.15.13 [CI SKIP] 2022-05-13 00:09:23 +00:00
f0391ddfcf 🚀RELEASE 3.15.12 [CI SKIP] 2022-05-12 00:09:14 +00:00
73ddccc66f 🚀RELEASE 3.15.11 [CI SKIP] 2022-05-11 00:09:04 +00:00
556e51e87f 🚀RELEASE 3.15.10 [CI SKIP] 2022-05-10 00:09:06 +00:00
e9359ec998 Added basic release script [CI SKIP] 2022-05-09 16:20:54 +02:00
6f86d1f007 🚀RELEASE 3.15.9 [CI SKIP] 2022-05-09 14:18:49 +00:00
8deefdbf38 Merge branch 'main' of git.odit.services:odit/nginx-brotli
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-09 16:18:07 +02:00
f4e1c1de18 Added basic readme [CI SKIP] 2022-05-09 16:18:02 +02:00
90924d7bb3 🚀RELEASE 3.15.8 [CI SKIP] 2022-05-09 00:09:22 +00:00
584f7aa710 🚀RELEASE 3.15.7 [CI SKIP] 2022-05-07 17:56:12 +00:00
6d9eb25330 Merge branch 'main' of git.odit.services:odit/nginx-brotli
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-07 19:55:33 +02:00
940d25b0c2 Typo [CI SKIP] 2022-05-07 19:55:25 +02:00
3ce730d822 🚀RELEASE 3.15.6 [CI SKIP] 2022-05-07 00:09:29 +00:00
7164c54074 🚀RELEASE 3.15.5 [CI SKIP] 2022-05-06 00:09:16 +00:00
3835b00832 🚀RELEASE 3.15.4 [CI SKIP] 2022-05-05 00:09:09 +00:00
b49a13670c 🚀RELEASE 3.15.3 [CI SKIP] 2022-05-04 20:55:06 +00:00
d1e7eb751a Merge branch 'main' of git.odit.services:odit/nginx-brotli
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-04 22:54:35 +02:00
f1cdf753ab Yeah, a cosign fix 2022-05-04 22:54:30 +02:00
9fc7fa989e 🚀RELEASE 3.15.2 [CI SKIP] 2022-05-04 20:15:32 +00:00
9376b65be5 Re-added weekly prepatch
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-04 22:14:57 +02:00
901bb7ce80 Quotes
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 22:13:45 +02:00
9d8b22d4e9 Added cosign
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-05-04 22:13:04 +02:00
b970ebe600 Added bump patch config
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 22:12:03 +02:00
e4d5d5e448 Short reset
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 22:11:29 +02:00
c30fd6eadb Valid yaml is valid
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-05-04 22:10:08 +02:00
275c9cb8c6 Test
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-05-04 22:09:01 +02:00
544398c895 Name fix
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-05-04 22:06:18 +02:00
8bdc6d6a15 Cosign tags
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-05-04 22:05:06 +02:00
1f76c43a2a Split into weekly prepatch [CI SKIP] 2022-05-04 21:10:08 +02:00
e85a2c6e93 🚀RELEASE 3.15.1 [CI SKIP] 2022-05-04 19:02:01 +00:00
131494a7d8 Fixed repo
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-04 21:00:35 +02:00
72805144ed Defaulted git config upstream
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 20:57:15 +02:00
ae5fde95d9 Manual git pull
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 20:55:10 +02:00
673c294e22 Updated git requirements
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 20:53:12 +02:00
d0d24eb332 Added custom commit logic
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 20:51:32 +02:00
3aaefd971b Disable all git features 2022-05-04 20:51:00 +02:00
081b57d97f Added current push config
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 20:49:07 +02:00
bd053c289f Added ci skip 2022-05-04 20:47:03 +02:00
5fe28253e0 Added remota
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 20:46:04 +02:00
848e1b43a3 Dont push
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 20:44:13 +02:00
468c347039 Merge pull request 'feature/4-automatic_versioning' (#5) from feature/4-automatic_versioning into main
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: #5
2022-05-04 18:42:55 +00:00
a5743662e1 Updated trigger condition 2022-05-04 20:42:45 +02:00
4a17547efb Fancy custom drone shit
Some checks failed
continuous-integration/drone/push Build is failing
2022-05-04 20:41:50 +02:00
2e3970a6c6 Now automagicly creating gitea releases after docker build
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-04 20:27:28 +02:00
78a82af315 Added release-it config
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-04 20:23:09 +02:00
2915d0ad18 Added gitignore
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-04 20:17:48 +02:00
8e25d7ba9d Merge pull request 'Update registry.odit.services/hub/library/alpine Docker tag to v3.15' (#3) from renovate/registry.odit.services-hub-library-alpine-3.x into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: #3
2022-04-30 12:18:37 +00:00
76c217cefa Merge branch 'main' into renovate/registry.odit.services-hub-library-alpine-3.x
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-30 12:15:51 +00:00
8331744547 Dry run build on pr
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-30 14:15:29 +02:00
863c664901 Update registry.odit.services/hub/library/alpine Docker tag to v3.15
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-30 10:17:29 +00:00
42ab130960 Added weekly build
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-13 18:44:51 +02:00
9d99d9251d Added renovate config
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-12 16:25:19 +02:00
6 changed files with 241 additions and 40 deletions

View File

@@ -12,80 +12,203 @@ get:
path: odit-registry-builder
name: password
---
kind: secret
name: gitea_token
get:
path: odit-git-bot
name: apikey
---
kind: secret
name: git_ssh
get:
path: odit-git-bot
name: sshkey
---
kind: secret
name: cosign_key
get:
path: cosign
name: cosign.key
---
kind: secret
name: cosign_password
get:
path: cosign
name: cosign.password
---
kind: pipeline
type: kubernetes
name: build:latest
steps:
- name: docker release
image: plugins/docker
- name: bump_patch
depends_on: [clone]
user: 0
image: registry.odit.services/hub/library/node:18.6.0-alpine3.15
commands:
- apk add git
- git config --global push.default current
- git branch --set-upstream-to=origin/main main
- yarn
- yarn release:patch
- git pull
- name: push to repo
image: appleboy/drone-git-push
depends_on: [bump_patch]
settings:
commit: false
author_email: bot@odit.services
followtags: true
branch: main
remote: git@git.odit.services:odit/nginx-brotli.git
skip_verify: true
ssh_key:
from_secret: git_ssh
- name: docker release
image: registry.odit.services/library/drone-kaniko
depends_on: [bump_patch]
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.odit.services/library/nginx-brotli
repo: library/nginx-brotli
tags:
- latest
registry: registry.odit.services
mtu: 1000
when:
branch:
- main
cache: true
trigger:
branch:
- main
---
kind: pipeline
type: kubernetes
name: build:tags
steps:
- name: build $DRONE_TAG
image: plugins/docker
user: 0
- name: build_tag
image: registry.odit.services/library/drone-kaniko
depends_on: [clone]
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.odit.services/library/nginx-brotli
repo: library/nginx-brotli
tags:
- '${DRONE_TAG}'
- "${DRONE_TAG}"
cache: true
registry: registry.odit.services
mtu: 1000
- name: sign_image
image: registry.odit.services/hub/library/alpine:edge
depends_on: [build_tag]
commands:
- apk add cosign docker
- echo $COSIGN_KEY | sed 's/<br>/\n/g' > cosign.key
- echo $DOCKER_PASSWORD | docker login registry.odit.services -u $DOCKER_USERNAME --password-stdin
- "cosign sign --key cosign.key registry.odit.services/library/nginx-brotli:${DRONE_TAG}"
environment:
COSIGN_KEY:
from_secret: cosign_key
COSIGN_PASSWORD:
from_secret: cosign_password
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
trigger:
event:
- tag
- tag
---
kind: pipeline
type: kubernetes
name: build:nightly
steps:
- name: docker release
image: plugins/docker
user: 0
image: registry.odit.services/library/drone-kaniko
depends_on: [clone]
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.odit.services/library/nginx-brotli
repo: library/nginx-brotli
tags:
- nightly
cache: true
registry: registry.odit.services
mtu: 1000
when:
branch:
- main
trigger:
branch:
- main
event:
- cron
- cron
cron:
exclude:
- nightly
include:
- nightly
---
kind: pipeline
type: kubernetes
name: build:weekly
steps:
- name: bump_prepatch
depends_on: [clone]
image: registry.odit.services/hub/library/node:18.6.0-alpine3.15
commands:
- apk add git
- git config --global push.default current
- git branch --set-upstream-to=origin/main main
- yarn
- "yarn release:prepatch"
- git pull
- name: push to repo
image: appleboy/drone-git-push
depends_on: [bump_prepatch]
settings:
commit: false
author_email: bot@odit.services
followtags: true
branch: main
remote: git@git.odit.services:odit/nginx-brotli.git
skip_verify: true
ssh_key:
from_secret: git_ssh
- name: docker release
image: registry.odit.services/library/drone-kaniko
depends_on: [bump_prepatch]
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: library/nginx-brotli
tags:
- weekly
- "${DRONE_STAGE_STARTED}"
cache: true
registry: registry.odit.services
trigger:
branch:
- main
event:
- cron
cron:
include:
- weekly
# ---
# kind: pipeline
# type: kubernetes
# name: build:pr
# steps:
# - name: docker release
# image: plugins/docker
# user: 0
# depends_on: [clone]
# settings:
# dry_run: true
# tags:
# - "PR-${DRONE_STAGE_STARTED}"
# mtu: 1000
# trigger:
# event:
# - pull_request

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
package-lock.json
node_modules

View File

@@ -1,4 +1,5 @@
ARG NGINX_VERSION=1.20.1
ARG ALPINE_VERSION=3.15
ARG NGINX_VERSION=1.20.2
ARG NGX_BROTLI_COMMIT=9aec15e2aa6feea2113119ba06460af70ab3ea62
ARG CONFIG="\
--prefix=/etc/nginx \
@@ -47,7 +48,7 @@ ARG CONFIG="\
--add-module=/usr/src/ngx_brotli \
"
FROM registry.odit.services/hub/library/alpine:3.13
FROM registry.odit.services/hub/library/alpine:3.15
LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
ARG NGINX_VERSION
@@ -64,7 +65,7 @@ RUN \
zlib-dev \
linux-headers \
curl \
gnupg1 \
# gnupg \
libxslt-dev \
gd-dev \
geoip-dev \
@@ -91,8 +92,8 @@ RUN \
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
&& sha512sum nginx.tar.gz nginx.tar.gz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --import /tmp/nginx.pub \
&& gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz \
# && gpg --import /tmp/nginx.pub \
# && gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz \
&& mkdir -p /usr/src \
&& tar -zxC /usr/src -f nginx.tar.gz
@@ -132,7 +133,7 @@ RUN \
| xargs -r apk info --installed \
| sort -u > /tmp/runDeps.txt
FROM registry.odit.services/hub/library/alpine:3.13
FROM registry.odit.services/hub/library/alpine:3.15
ARG NGINX_VERSION
COPY --from=0 /tmp/runDeps.txt /tmp/runDeps.txt
@@ -145,7 +146,6 @@ COPY --from=0 /usr/bin/envsubst /usr/local/bin/envsubst
RUN \
addgroup -S nginx \
&& adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx \
&& apk add --no-cache --upgrade apk-tools \
&& apk add --no-cache --virtual .nginx-rundeps tzdata $(cat /tmp/runDeps.txt) \
&& rm /tmp/runDeps.txt \
&& ln -s /usr/lib/nginx/modules /etc/nginx/modules \
@@ -160,6 +160,7 @@ COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80 443
STOPSIGNAL SIGTERM
STOPSIGNAL SIGQUIT
CMD ["nginx", "-g", "daemon off;"]
ENTRYPOINT ["nginx"]
CMD ["-g", "daemon off;"]

View File

@@ -0,0 +1,33 @@
<p align="center">
<a href="https://odit.services" target="blank"><img src="https://odit.services/img/profile-pic-no_bg.webp" width="200" alt="ODIT Logo" /></a>
</p>
<p align="center">NGINX - Brotli</p>
## Description
A custom alpine based nginx image including Brotli for compression.
## Build
```bash
docker build .
```
## Use
* Docker Image: registry.odit.services/library/nginx-brotli
* Webserver Folder Mount: /usr/share/nginx/html/
* Nginx Config Mount: /etc/nginx/nginx.conf
## Release a new version (triggers ci)
```bash
# pnpm
pnpm i
pnpm release
# yarn
yarn
yarn release
```

34
package.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "nginx-brotli",
"version": "3.15.120",
"description": "NGINX Base Image feat. brotli",
"repository": {
"type": "git",
"url": "git@git.odit.services:odit/nginx-brotli.git"
},
"license": "MIT",
"devDependencies": {
"release-it": "^15.0.0"
},
"scripts": {
"release": "release-it",
"release:patch": "release-it --patch --ci",
"release:prepatch": "release-it --prePatch --preRelease --ci"
},
"release-it": {
"git": {
"commit": true,
"requireCleanWorkingDir": false,
"requireUpstream": false,
"requireBranch": "main",
"commitMessage": "🚀RELEASE ${version} [CI SKIP]",
"push": false,
"tag": true,
"tagName": "${version}",
"tagAnnotation": "${version}"
},
"npm": {
"publish": false
}
}
}

8
renovate.json Normal file
View File

@@ -0,0 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"baseBranches": ["main"],
"addLabels": ["status:review_needed", "enhancement", "priority:medium"],
"reviewers": ["niggl", "philipp"]
}