Compare commits

..

177 Commits

Author SHA1 Message Date
f10c2510cc 🚀RELEASE 3.15.146 [CI SKIP] 2022-10-14 00:13:44 +00:00
4cb224a5a6 🚀RELEASE 3.15.145 [CI SKIP] 2022-10-14 00:10:31 +00:00
b366f1a3b8 🚀RELEASE 3.15.144 [CI SKIP] 2022-10-13 00:13:44 +00:00
e624741c10 🚀RELEASE 3.15.143 [CI SKIP] 2022-10-13 00:10:41 +00:00
b85360c9a9 🚀RELEASE 3.15.142 [CI SKIP] 2022-10-12 00:13:48 +00:00
a48dd3fa2a 🚀RELEASE 3.15.141 [CI SKIP] 2022-10-12 00:10:42 +00:00
b1daa08c83 🚀RELEASE 3.15.140 [CI SKIP] 2022-10-11 00:13:44 +00:00
5ddd6e36dd 🚀RELEASE 3.15.139 [CI SKIP] 2022-10-11 00:10:31 +00:00
0db8e998e3 🚀RELEASE 3.15.138 [CI SKIP] 2022-10-10 00:13:45 +00:00
b2af0ecf6c 🚀RELEASE 3.15.137 [CI SKIP] 2022-10-10 00:10:41 +00:00
011a88d1c8 🚀RELEASE 3.15.136 [CI SKIP] 2022-10-09 00:13:50 +00:00
1b8799633f 🚀RELEASE 3.15.135 [CI SKIP] 2022-10-09 00:10:48 +00:00
50345bfded 🚀RELEASE 3.15.134 [CI SKIP] 2022-10-08 00:13:46 +00:00
757ed2dda1 🚀RELEASE 3.15.133 [CI SKIP] 2022-10-08 00:10:40 +00:00
04a1e560b1 🚀RELEASE 3.15.132 [CI SKIP] 2022-10-07 00:13:45 +00:00
1ec5f62e10 🚀RELEASE 3.15.131 [CI SKIP] 2022-10-07 00:10:35 +00:00
8c9274e772 🚀RELEASE 3.15.130 [CI SKIP] 2022-10-06 00:13:48 +00:00
9b8b6b175d 🚀RELEASE 3.15.129 [CI SKIP] 2022-10-06 00:10:33 +00:00
fb7acd1307 🚀RELEASE 3.15.128 [CI SKIP] 2022-10-05 00:13:44 +00:00
f4f5727ced 🚀RELEASE 3.15.127 [CI SKIP] 2022-10-05 00:10:47 +00:00
917729b00d 🚀RELEASE 3.15.126 [CI SKIP] 2022-10-04 00:13:51 +00:00
abb85e1ac8 🚀RELEASE 3.15.125 [CI SKIP] 2022-10-04 00:10:41 +00:00
64299850ea 🚀RELEASE 3.15.124 [CI SKIP] 2022-10-03 00:28:28 +00:00
72c6c198f4 🚀RELEASE 3.15.123 [CI SKIP] 2022-10-03 00:10:32 +00:00
818f22aace 🚀RELEASE 3.15.122 [CI SKIP] 2022-10-02 00:28:35 +00:00
034cc03736 🚀RELEASE 3.15.121 [CI SKIP] 2022-10-02 00:10:58 +00:00
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
4 changed files with 132 additions and 65 deletions

View File

@@ -26,21 +26,34 @@ 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: bump_patch
depends_on: [clone]
image: registry.odit.services/hub/library/node:18.1.0-alpine3.15
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
- yarn release:patch
- git pull
- name: push to repo
image: appleboy/drone-git-push
@@ -55,75 +68,76 @@ steps:
ssh_key:
from_secret: git_ssh
- name: docker release
image: plugins/docker
depends_on: [clone]
user: 0
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
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}"
cache: true
registry: registry.odit.services
mtu: 1000
- name: gitea_release
image: plugins/gitea-release
settings:
title: Release ${DRONE_TAG}
note: "Pull: `docker pull registry.odit.services/library/nginx-brotli:${DRONE_TAG}`"
api_key:
from_secret: gitea_token
base_url: https://git.odit.services
- 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
---
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
trigger:
branch:
- main
@@ -132,28 +146,47 @@ trigger:
cron:
include:
- nightly
---
kind: pipeline
type: kubernetes
name: build:weekly
steps:
- name: docker release
image: plugins/docker
user: 0
- 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: registry.odit.services/library/nginx-brotli
repo: library/nginx-brotli
tags:
- weekly
- "${DRONE_STAGE_STARTED}"
cache: true
registry: registry.odit.services
mtu: 1000
trigger:
branch:
- main
@@ -162,22 +195,20 @@ trigger:
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
# ---
# 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

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 \
@@ -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
@@ -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
```

View File

@@ -1,6 +1,6 @@
{
"name": "nginx-brotli",
"version": "3.15.1",
"version": "3.15.146",
"description": "NGINX Base Image feat. brotli",
"repository": {
"type": "git",
@@ -11,7 +11,9 @@
"release-it": "^15.0.0"
},
"scripts": {
"release": "release-it --patch --ci"
"release": "release-it",
"release:patch": "release-it --patch --ci",
"release:prepatch": "release-it --prePatch --preRelease --ci"
},
"release-it": {
"git": {