Skip to content

Commit 803d941

Browse files
authored
yamllint (#2541)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
1 parent 569d1a5 commit 803d941

10 files changed

Lines changed: 31 additions & 21 deletions

File tree

.examples/docker-compose/insecure/mariadb/apache/compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
# Note: MariaDB is an external service. You can find more information about the configuration here:
34
# https://hub.docker.com/_/mariadb

.examples/docker-compose/insecure/mariadb/fpm/compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
# Note: MariaDB is an external service. You can find more information about the configuration here:
34
# https://hub.docker.com/_/mariadb
@@ -45,7 +46,7 @@ services:
4546
- 127.0.0.1:8080:80
4647
volumes:
4748
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
48-
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
49+
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
4950
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
5051
- nextcloud:/var/www/html:z,ro
5152
depends_on:

.examples/docker-compose/insecure/postgres/apache/compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
34
# https://hub.docker.com/_/postgres

.examples/docker-compose/insecure/postgres/fpm/compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
34
# https://hub.docker.com/_/postgres
@@ -40,7 +41,7 @@ services:
4041
- 127.0.0.1:8080:80
4142
volumes:
4243
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
43-
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
44+
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
4445
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
4546
- nextcloud:/var/www/html:z,ro
4647
depends_on:

.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
# Note: MariaDB is an external service. You can find more information about the configuration here:
34
# https://hub.docker.com/_/mariadb

.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
# Note: MariaDB is an external service. You can find more information about the configuration here:
34
# https://hub.docker.com/_/mariadb
@@ -44,7 +45,7 @@ services:
4445
restart: always
4546
volumes:
4647
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
47-
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
48+
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
4849
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
4950
- nextcloud:/var/www/html:z,ro
5051
environment:
@@ -105,7 +106,7 @@ services:
105106
depends_on:
106107
- proxy
107108

108-
# self signed, outdated.
109+
# self signed, outdated.
109110
# omgwtfssl:
110111
# image: paulczar/omgwtfssl
111112
# restart: "no"

.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
34
# https://hub.docker.com/_/postgres

.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
34
# https://hub.docker.com/_/postgres

.github/workflows/images.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
---
12
name: Images
23

34
on:
45
pull_request:
56
workflow_run:
67
workflows: ["update.sh"]
78
branches: [master]
8-
types:
9+
types:
910
- completed
1011

1112
defaults:

.github/workflows/update-sh.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
1+
---
12
name: update.sh
23

34
on:
45
push:
56
branches:
6-
- master
7+
- master
78
schedule:
8-
- cron: '15 18 * * *'
9+
- cron: '15 18 * * *'
910
workflow_dispatch:
1011

1112
jobs:
1213
run_update_sh:
1314
name: Run update.sh script
1415
runs-on: ubuntu-latest
1516
steps:
16-
- uses: actions/checkout@v4
17-
- name: Run update.sh script
18-
run: ./update.sh
19-
- name: Commit files
20-
run: |
21-
git config --local user.email "workflow@github.com"
22-
git config --local user.name "GitHub Workflow"
23-
git add -A
24-
git commit -m "Runs update.sh" || echo "Nothing to update"
25-
- name: Push changes
26-
uses: ad-m/github-push-action@master
27-
with:
28-
github_token: ${{ secrets.GITHUB_TOKEN }}
29-
force: true
17+
- uses: actions/checkout@v4
18+
- name: Run update.sh script
19+
run: ./update.sh
20+
- name: Commit files
21+
run: |
22+
git config --local user.email "workflow@github.com"
23+
git config --local user.name "GitHub Workflow"
24+
git add -A
25+
git commit -m "Runs update.sh" || echo "Nothing to update"
26+
- name: Push changes
27+
uses: ad-m/github-push-action@master
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
force: true

0 commit comments

Comments
 (0)