Commit Graph

218 Commits

Author SHA1 Message Date
9a2794d584
Fix double tagging 2023-04-08 19:46:25 +02:00
e39555b0b1
Simlify, and refactor to use functions
This should greatly reduce duplication and overall size
2023-04-08 19:39:44 +02:00
a6080cbef0
Use SHA-1 instead of MD5 for cache tags 2023-04-08 16:49:58 +02:00
7e55f47ac6
Implement registry cache as additional cache for all builds 2023-04-08 16:39:12 +02:00
f8beef6bf4
Attempt using both gha and registry cache for 6.1.1 2023-04-08 15:52:34 +02:00
cad36f6e7e
Fix some old stuff 2023-04-06 21:36:33 +02:00
a50ce69fc0
Reformat and cleanup 2023-04-06 21:32:28 +02:00
6f165400a4
Apply formatting 2023-04-06 08:40:00 +02:00
f57537dfcf
Define more org.opencontainers labels 2023-04-06 03:30:03 +02:00
7c8fa6cfc8
Add org.opencontainers.image.source label 2023-04-06 00:33:24 +02:00
d236f0ba51
Update ghcr.io namespace 2023-04-06 00:01:28 +02:00
69c43a5caa
Add ghcr.io tags and push 2023-04-05 23:14:50 +02:00
1357f2fec3
Add step for authorizing to ghcr 2023-04-05 22:54:20 +02:00
fd6fba8dc9
Trigger build 2023-04-05 19:45:00 +02:00
8a0671090e
Remove empty defintion 2023-04-05 19:31:57 +02:00
f70d3d891c
Use platform as part of the scope 2023-04-05 19:20:00 +02:00
fc85a1d8cb
Improve caching
Inspired by: https://hackernoon.com/one-dockerfile-is-all-it-takes-how-i-fell-in-love-with-bake
2023-04-05 19:09:34 +02:00
23192aaa94
Update WordPress 6.1.1 -> 6.2.0 2023-04-02 20:32:47 +02:00
e184127d38
Update formatting 2023-04-02 20:31:39 +02:00
aeb39d0f13
Use target _blank 2023-04-02 20:25:19 +02:00
250227f3e1
Refactor: Change structure. Remove strictness 2023-03-22 03:24:27 +01:00
90f38805fa
Rename 20-install-plugins -> 20-install-resources (more generic) 2023-03-22 02:38:07 +01:00
ef47e1b2b9
Add wp-theme script for managing themes 2023-03-22 02:35:46 +01:00
1b62dba10a
Add delete functionality 2023-03-22 02:34:13 +01:00
f79da27583
Update documentation for plugins installer
Also provide example of extending this image
2023-03-21 12:59:44 +01:00
53ab34b35e
Rename to CONCURRENCY_LIMIT to WP_PLUGINS_INSTALL_CONCURRENCY and set default value to 5 2023-03-21 12:48:08 +01:00
47ba7873f1
Implement proccess locking for plugin installer in order to prevent script from running on multiple instances at the same time 2023-03-21 08:06:47 +01:00
879df6c042
Update tests and patch-util Docker image to use PHP 8.1 2023-03-21 02:12:31 +01:00
8df891a400
Refactor plugin installer
- Fixes issue where installation is dependent of existence of working database connection

- Overall improvements

- Move out some logic to wp-plugin script

- Use curl to download plugins, instead of wp cli
2023-03-21 01:40:07 +01:00
c26a0afd1f
Define concurrency limit with variable 2023-03-17 21:14:26 +01:00
aa68d5ba82
Limit concurrency to 4 plugins per batch
This should help avoid concurrency related issues, sacrificing a little bit of performance
2023-03-17 21:00:06 +01:00
e2ed315ff2
Use indent of 4 spaces 2023-03-17 19:43:44 +01:00
a8f2aadab2
Trigger build - base image update 2023-03-17 03:16:04 +01:00
f387ec0773
Revert "Improve plugin installer reliability"
This reverts commit f81ec4c67e.
2023-03-15 02:54:53 +01:00
c41860611d
Revert "Mark PLUGIN_PATH as mandatory variable"
This reverts commit 4fc19fa5e7.
2023-03-15 02:54:31 +01:00
4fc19fa5e7
Mark PLUGIN_PATH as mandatory variable 2023-03-15 02:38:24 +01:00
f81ec4c67e
Improve plugin installer reliability 2023-03-15 02:33:50 +01:00
f0ce5dae9e
Trigger build - refresh image 2023-03-06 20:02:00 +01:00
924a9c9304
Merge pull request #13 from N0rthernL1ghts/dependabot/github_actions/lewagon/wait-on-check-action-1.3.1
Bump lewagon/wait-on-check-action from 1.2.0 to 1.3.1
2023-03-05 15:19:56 +01:00
dependabot[bot]
0b69603a10
Bump lewagon/wait-on-check-action from 1.2.0 to 1.3.1
Bumps [lewagon/wait-on-check-action](https://github.com/lewagon/wait-on-check-action) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/lewagon/wait-on-check-action/releases)
- [Commits](https://github.com/lewagon/wait-on-check-action/compare/v1.2.0...v1.3.1)

---
updated-dependencies:
- dependency-name: lewagon/wait-on-check-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 23:02:59 +00:00
2fd2e0d6aa
Trigger build - base image change 2023-02-01 01:52:03 +01:00
fcd9719d6b
Merge pull request #12 from N0rthernL1ghts/dependabot/github_actions/docker/build-push-action-4
Bump docker/build-push-action from 3 to 4
2023-01-31 01:41:21 +01:00
dependabot[bot]
89fb3fa6a0
Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 22:17:15 +00:00
e398d3a71a
Fix issue where wp-config.php is not initialized 2023-01-24 02:17:20 +01:00
64722d5b6c
Add healthcheck script and mechanism to make unhealthy if WP install integrity is compromised 2023-01-24 01:42:53 +01:00
fedfaeafc4
Apply patch during build time 2023-01-24 01:24:46 +01:00
bb3f62ef10
Initialize WordPress during build time 2023-01-23 23:03:06 +01:00
a72f393567
Remove nginx leftover 2023-01-23 22:46:31 +01:00
705a2d505d
Remove built-in and use official docker-optimized wp-config.php instead 2023-01-23 22:32:36 +01:00
dd43a2e929
Remove WEB_ROOT env variable (legacy) 2023-01-23 19:50:30 +01:00