You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/scripts/update-checker.sh
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,20 @@ check_tests_workflow() {
115
115
fi
116
116
}
117
117
118
+
# Check docker-compose.*.yaml files for 'build:' with 'image:' usage
119
+
check_docker_compose_yaml() {
120
+
local file
121
+
while IFS= read -r -d '' file;do
122
+
if [[ -f"$file"&&-r"$file" ]];then
123
+
if grep -q "build:""$file"&&! grep -q "image:""$file";then
124
+
actions+=("$file contains 'build:', but there is no 'image:', example: 'image: \${ADDON_TEMPLATE_DOCKER_IMAGE:-busybox:stable}-\${DDEV_SITENAME}-built', this is required to use DDEV offline")
actions+=("$file contains both 'build:' and 'image:', but 'image:' line should contain '-\${DDEV_SITENAME}-built', example: 'image: \${ADDON_TEMPLATE_DOCKER_IMAGE:-busybox:stable}-\${DDEV_SITENAME}-built', this is required to use DDEV offline")
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ This repository is a quick way to get started. You can create a new repo from th
41
41
10. When ready to share, make your add-on discoverable by adding the `ddev-get`[topic](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics).
42
42
43
43
> [!TIP]
44
-
> Run update checker in your add-on to ensure it is up-to-date:
44
+
> Run the `update-checker.sh` in your add-on to ensure it is up to date:
0 commit comments