You've already forked markdownlint-docker
							
							Compare commits
	
		
			120 Commits
		
	
	
		
			feat/migra
			...
			356fc69a41
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 356fc69a41 | |||
| 2e1129b153 | |||
| 2ff5a3a885 | |||
| 31f932cd16 | |||
| aa3429be16 | |||
| 33cf769b65 | |||
| c2798aa53d | |||
| af94c23490 | |||
| 0bcf17723a | |||
| 0a6b3270ae | |||
| f63f5bcd58 | |||
| db231d8039 | |||
| ce17b2c90e | |||
| 7166d5334c | |||
| b186d0379f | |||
| 5de23c370f | |||
| 578421ec7a | |||
| 3431c5c56e | |||
| 5b01c18404 | |||
| f6a23f8aad | |||
| f622fa4309 | |||
| ea289ba1a4 | |||
| e51678d14d | |||
| 9a0d322068 | |||
| 85232f35ec | |||
| 9a98acc3f8 | |||
| fbe4485390 | |||
| cee3448ba9 | |||
| 7e94d45e3e | |||
| 6d6b262aff | |||
| 5ea24f8ac1 | |||
| a45c7b0226 | |||
| 69ff8882bf | |||
| c93b9e2a98 | |||
| 1d7938764c | |||
| cc9d82caf5 | |||
| 6ee4867729 | |||
| ef07b0d1e2 | |||
| fe15de5018 | |||
| 63acec5e20 | |||
| 1a1c00096f | |||
| 9c64c15a0b | |||
| 985b45b270 | |||
| ed67739374 | |||
| 3389167379 | |||
| ab88395fa3 | |||
| 973f792000 | |||
| 2c86022e29 | |||
| 19858289a2 | |||
| 29a2f48ab3 | |||
| 7bf19bfc3f | |||
| 344af3a57c | |||
| 2c7ee3bf89 | |||
| 6409a633b9 | |||
| 8f4c5dd5a2 | |||
| 294db6711f | |||
| 65e4781c7f | |||
| 0525491204 | |||
| 745576228d | |||
| 5a39422556 | |||
| b61ce0b251 | |||
| d52001ea39 | |||
| ccecffb7a6 | |||
| 3a19e75b1a | |||
| a1b8691442 | |||
| 8376c88cb8 | |||
| aa2ebc733a | |||
| bcdfecae15 | |||
| 8270972414 | |||
| aa28fab730 | |||
| 8dfe85b81e | |||
| 9182c584ac | |||
| 5b87c43174 | |||
| b184cf6a18 | |||
| 2f8c2fca87 | |||
| 9a0d1335c2 | |||
| 3e3d746ec4 | |||
| 07fc2cf729 | |||
| 70cbadba19 | |||
| 503405a95a | |||
| 70dcb7fd0e | |||
| f320edda8c | |||
| cb7cdf5f44 | |||
| f8e2bfcafd | |||
| 230476364d | |||
| 834c4ee1ae | |||
| 252979c667 | |||
| 8667affd41 | |||
| 533c9829b3 | |||
| ee3bf1b33b | |||
| ffe97a3de9 | |||
| cfc54e9f3c | |||
| 39619bba92 | |||
| abd9fcec28 | |||
| ea23fa16d8 | |||
| 0f0c9c3681 | |||
| 0e360e96c7 | |||
| c1d1f1d729 | |||
| 9259302166 | |||
| 8d8d18e583 | |||
| 8c151e4a9f | |||
| 807cc76904 | |||
| 40cf201e55 | |||
| decd824748 | |||
| 1261bd2077 | |||
| e93c4a7b77 | |||
| 389fe5e76e | |||
| 6cbf662b91 | |||
| 1b36727eb9 | |||
| e6435bfa1e | |||
| a60d5b32fe | |||
| 3b6d36d06d | |||
| 43025883e1 | |||
| 01eb154d4a | |||
| f453a2b92b | |||
| 83c137e24f | |||
| 3f6e9136ed | |||
| fdc5b39f6a | |||
| be0df123a8 | |||
| bf55a651a1 | 
							
								
								
									
										333
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										333
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -11,12 +11,12 @@ platform: | |||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: markdown lint | - name: markdown lint | ||||||
|   commands: |   commands: | ||||||
|   - markdownlint *.md |   - markdownlint *.md | ||||||
|   image: git.cryptic.systems/volker.raschek/markdownlint:0.33.0 |   image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0 | ||||||
|   resources: |   resources: | ||||||
|     limits: |     limits: | ||||||
|       cpu: 150 |       cpu: 150 | ||||||
| @@ -34,7 +34,7 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   resources: |   resources: | ||||||
|     limits: |     limits: | ||||||
|       cpu: 150 |       cpu: 150 | ||||||
| @@ -57,22 +57,28 @@ name: dry-run-amd64 | |||||||
| clone: | clone: | ||||||
|   disable: true |   disable: true | ||||||
|  |  | ||||||
|  | depends_on: | ||||||
|  | - linter | ||||||
|  |  | ||||||
| platform: | platform: | ||||||
|   os: linux |   os: linux | ||||||
|   arch: amd64 |   arch: amd64 | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: build | - name: build | ||||||
|   image: docker.io/plugins/docker:20.10.9 |   image: docker.io/plugins/docker:20.18.8 | ||||||
|   settings: |   settings: | ||||||
|     auto_tag: false |     auto_tag: false | ||||||
|  |     dockerfile: Dockerfile | ||||||
|     dry_run: true |     dry_run: true | ||||||
|     force_tag: true |     force_tag: true | ||||||
|     no_cache: true |     no_cache: true | ||||||
|     purge: true |     purge: true | ||||||
|  |     mirror: | ||||||
|  |       from_secret: docker_io_mirror | ||||||
|     registry: git.cryptic.systems |     registry: git.cryptic.systems | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||||
|     tags: latest-amd64 |     tags: latest-amd64 | ||||||
| @@ -93,78 +99,12 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   when: |   when: | ||||||
|     status: |     status: | ||||||
|     - changed |     - changed | ||||||
|     - failure |     - failure | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - linter |  | ||||||
|  |  | ||||||
| trigger: |  | ||||||
|   branch: |  | ||||||
|     exclude: |  | ||||||
|     - master |  | ||||||
|   event: |  | ||||||
|   - pull_request |  | ||||||
|   - push |  | ||||||
|   repo: |  | ||||||
|   - volker.raschek/markdownlint-docker |  | ||||||
|  |  | ||||||
| --- |  | ||||||
| kind: pipeline |  | ||||||
| type: docker |  | ||||||
| name: dry-run-arm-v7 |  | ||||||
|  |  | ||||||
| clone: |  | ||||||
|   disable: true |  | ||||||
|  |  | ||||||
| platform: |  | ||||||
|   os: linux |  | ||||||
|   arch: arm |  | ||||||
|  |  | ||||||
| steps: |  | ||||||
| - name: clone |  | ||||||
|   image: docker.io/drone/git:1.2.1 |  | ||||||
|  |  | ||||||
| - name: build |  | ||||||
|   image: docker.io/plugins/docker:20.10.9 |  | ||||||
|   settings: |  | ||||||
|     auto_tag: false |  | ||||||
|     dry_run: true |  | ||||||
|     force_tag: true |  | ||||||
|     no_cache: true |  | ||||||
|     purge: true |  | ||||||
|     registry: git.cryptic.systems |  | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |  | ||||||
|     tags: latest-arm-v7 |  | ||||||
|     username: |  | ||||||
|       from_secret: git_cryptic_systems_container_registry_user |  | ||||||
|     password: |  | ||||||
|       from_secret: git_cryptic_systems_container_registry_password |  | ||||||
|  |  | ||||||
| - name: email-notification |  | ||||||
|   environment: |  | ||||||
|     SMTP_FROM_ADDRESS: |  | ||||||
|       from_secret: smtp_from_address |  | ||||||
|     SMTP_FROM_NAME: |  | ||||||
|       from_secret: smtp_from_name |  | ||||||
|     SMTP_HOST: |  | ||||||
|       from_secret: smtp_host |  | ||||||
|     SMTP_USERNAME: |  | ||||||
|       from_secret: smtp_username |  | ||||||
|     SMTP_PASSWORD: |  | ||||||
|       from_secret: smtp_password |  | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |  | ||||||
|   when: |  | ||||||
|     status: |  | ||||||
|     - changed |  | ||||||
|     - failure |  | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - linter |  | ||||||
|  |  | ||||||
| trigger: | trigger: | ||||||
|   branch: |   branch: | ||||||
|     exclude: |     exclude: | ||||||
| @@ -183,25 +123,31 @@ name: dry-run-arm64-v8 | |||||||
| clone: | clone: | ||||||
|   disable: true |   disable: true | ||||||
|  |  | ||||||
|  | depends_on: | ||||||
|  | - linter | ||||||
|  |  | ||||||
| platform: | platform: | ||||||
|   os: linux |   os: linux | ||||||
|   arch: arm64 |   arch: arm64 | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: build | - name: build | ||||||
|   image: docker.io/plugins/docker:20.10.9 |   image: docker.io/plugins/docker:20.18.8 | ||||||
|   settings: |   settings: | ||||||
|     auto_tag: false |     auto_tag: false | ||||||
|  |     dockerfile: Dockerfile | ||||||
|     dry_run: true |     dry_run: true | ||||||
|     force_tag: true |     force_tag: true | ||||||
|     no_cache: true |     no_cache: true | ||||||
|     purge: true |     purge: true | ||||||
|  |     mirror: | ||||||
|  |       from_secret: docker_io_mirror | ||||||
|     registry: git.cryptic.systems |     registry: git.cryptic.systems | ||||||
|     tags: latest-arm64-v8 |  | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||||
|  |     tags: latest-arm64-v8 | ||||||
|     username: |     username: | ||||||
|       from_secret: git_cryptic_systems_container_registry_user |       from_secret: git_cryptic_systems_container_registry_user | ||||||
|     password: |     password: | ||||||
| @@ -219,15 +165,12 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   when: |   when: | ||||||
|     status: |     status: | ||||||
|     - changed |     - changed | ||||||
|     - failure |     - failure | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - linter |  | ||||||
|  |  | ||||||
| trigger: | trigger: | ||||||
|   branch: |   branch: | ||||||
|     exclude: |     exclude: | ||||||
| @@ -246,21 +189,27 @@ name: latest-amd64 | |||||||
| clone: | clone: | ||||||
|   disable: true |   disable: true | ||||||
|  |  | ||||||
|  | depends_on: | ||||||
|  | - linter | ||||||
|  |  | ||||||
| platform: | platform: | ||||||
|   os: linux |   os: linux | ||||||
|   arch: amd64 |   arch: amd64 | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: build | - name: build | ||||||
|   image: docker.io/plugins/docker:20.10.9 |   image: docker.io/plugins/docker:20.18.8 | ||||||
|   settings: |   settings: | ||||||
|     auto_tag: false |     auto_tag: false | ||||||
|  |     dockerfile: Dockerfile | ||||||
|     force_tag: true |     force_tag: true | ||||||
|     no_cache: true |     no_cache: true | ||||||
|     purge: true |     purge: true | ||||||
|  |     mirror: | ||||||
|  |       from_secret: docker_io_mirror | ||||||
|     registry: git.cryptic.systems |     registry: git.cryptic.systems | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||||
|     tags: latest-amd64 |     tags: latest-amd64 | ||||||
| @@ -281,76 +230,12 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   when: |   when: | ||||||
|     status: |     status: | ||||||
|     - changed |     - changed | ||||||
|     - failure |     - failure | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - linter |  | ||||||
|  |  | ||||||
| trigger: |  | ||||||
|   branch: |  | ||||||
|   - master |  | ||||||
|   event: |  | ||||||
|   - cron |  | ||||||
|   - push |  | ||||||
|   repo: |  | ||||||
|   - volker.raschek/markdownlint-docker |  | ||||||
|  |  | ||||||
| --- |  | ||||||
| kind: pipeline |  | ||||||
| type: docker |  | ||||||
| name: latest-arm-v7 |  | ||||||
|  |  | ||||||
| clone: |  | ||||||
|   disable: true |  | ||||||
|  |  | ||||||
| platform: |  | ||||||
|   os: linux |  | ||||||
|   arch: arm |  | ||||||
|  |  | ||||||
| steps: |  | ||||||
| - name: clone |  | ||||||
|   image: docker.io/drone/git:1.2.1 |  | ||||||
|  |  | ||||||
| - name: build |  | ||||||
|   image: docker.io/plugins/docker:20.10.9 |  | ||||||
|   settings: |  | ||||||
|     auto_tag: false |  | ||||||
|     force_tag: true |  | ||||||
|     no_cache: true |  | ||||||
|     purge: true |  | ||||||
|     registry: git.cryptic.systems |  | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |  | ||||||
|     tags: latest-arm-v7 |  | ||||||
|     username: |  | ||||||
|       from_secret: git_cryptic_systems_container_registry_user |  | ||||||
|     password: |  | ||||||
|       from_secret: git_cryptic_systems_container_registry_password |  | ||||||
|  |  | ||||||
| - name: email-notification |  | ||||||
|   environment: |  | ||||||
|     SMTP_FROM_ADDRESS: |  | ||||||
|       from_secret: smtp_from_address |  | ||||||
|     SMTP_FROM_NAME: |  | ||||||
|       from_secret: smtp_from_name |  | ||||||
|     SMTP_HOST: |  | ||||||
|       from_secret: smtp_host |  | ||||||
|     SMTP_USERNAME: |  | ||||||
|       from_secret: smtp_username |  | ||||||
|     SMTP_PASSWORD: |  | ||||||
|       from_secret: smtp_password |  | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |  | ||||||
|   when: |  | ||||||
|     status: |  | ||||||
|     - changed |  | ||||||
|     - failure |  | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - linter |  | ||||||
|  |  | ||||||
| trigger: | trigger: | ||||||
|   branch: |   branch: | ||||||
|   - master |   - master | ||||||
| @@ -368,24 +253,30 @@ name: latest-arm64-v8 | |||||||
| clone: | clone: | ||||||
|   disable: true |   disable: true | ||||||
|  |  | ||||||
|  | depends_on: | ||||||
|  | - linter | ||||||
|  |  | ||||||
| platform: | platform: | ||||||
|   os: linux |   os: linux | ||||||
|   arch: arm64 |   arch: arm64 | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: build | - name: build | ||||||
|   image: docker.io/plugins/docker:20.10.9 |   image: docker.io/plugins/docker:20.18.8 | ||||||
|   settings: |   settings: | ||||||
|     auto_tag: false |     auto_tag: false | ||||||
|  |     dockerfile: Dockerfile | ||||||
|     force_tag: true |     force_tag: true | ||||||
|     no_cache: true |     no_cache: true | ||||||
|     purge: true |     purge: true | ||||||
|  |     mirror: | ||||||
|  |       from_secret: docker_io_mirror | ||||||
|     registry: git.cryptic.systems |     registry: git.cryptic.systems | ||||||
|     tags: latest-arm64-v8 |  | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||||
|  |     tags: latest-arm64-v8 | ||||||
|     username: |     username: | ||||||
|       from_secret: git_cryptic_systems_container_registry_user |       from_secret: git_cryptic_systems_container_registry_user | ||||||
|     password: |     password: | ||||||
| @@ -403,15 +294,12 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   when: |   when: | ||||||
|     status: |     status: | ||||||
|     - changed |     - changed | ||||||
|     - failure |     - failure | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - linter |  | ||||||
|  |  | ||||||
| trigger: | trigger: | ||||||
|   branch: |   branch: | ||||||
|   - master |   - master | ||||||
| @@ -429,12 +317,21 @@ name: latest-manifest | |||||||
| clone: | clone: | ||||||
|   disable: true |   disable: true | ||||||
|  |  | ||||||
|  | depends_on: | ||||||
|  | - latest-amd64 | ||||||
|  | - latest-arm64-v8 | ||||||
|  |  | ||||||
|  | # docker.io/plugins/manifest only for amd64 architectures available | ||||||
|  | node_selector: | ||||||
|  |   kubernetes.io/os: linux | ||||||
|  |   kubernetes.io/arch: amd64 | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: build-manifest | - name: build-manifest | ||||||
|   image: docker.io/plugins/manifest:latest |   image: docker.io/plugins/manifest:1.4.0 | ||||||
|   settings: |   settings: | ||||||
|     auto_tag: false |     auto_tag: false | ||||||
|     ignore_missing: true |     ignore_missing: true | ||||||
| @@ -456,7 +353,7 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   resources: |   resources: | ||||||
|     limits: |     limits: | ||||||
|       cpu: 150 |       cpu: 150 | ||||||
| @@ -466,11 +363,6 @@ steps: | |||||||
|     - changed |     - changed | ||||||
|     - failure |     - failure | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - latest-amd64 |  | ||||||
| - latest-arm-v7 |  | ||||||
| - latest-arm64-v8 |  | ||||||
|  |  | ||||||
| trigger: | trigger: | ||||||
|   branch: |   branch: | ||||||
|   - master |   - master | ||||||
| @@ -493,9 +385,9 @@ depends_on: | |||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: latest-docker-sync | - name: latest-sync | ||||||
|   commands: |   commands: | ||||||
|   - skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/markdownlint docker.io/volkerraschek |   - skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/markdownlint docker.io/volkerraschek | ||||||
|   environment: |   environment: | ||||||
| @@ -507,7 +399,7 @@ steps: | |||||||
|       from_secret: container_image_registry_user |       from_secret: container_image_registry_user | ||||||
|     DEST_CRED_PASSWORD: |     DEST_CRED_PASSWORD: | ||||||
|       from_secret: container_image_registry_password |       from_secret: container_image_registry_password | ||||||
|   image: quay.io/skopeo/stable:v1.12.0 |   image: quay.io/skopeo/stable:v1.18.0 | ||||||
|  |  | ||||||
| - name: email-notification | - name: email-notification | ||||||
|   environment: |   environment: | ||||||
| @@ -521,7 +413,7 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   resources: |   resources: | ||||||
|     limits: |     limits: | ||||||
|       cpu: 150 |       cpu: 150 | ||||||
| @@ -554,16 +446,19 @@ platform: | |||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: build | - name: build | ||||||
|   image: docker.io/plugins/docker:20.10.9 |   image: docker.io/plugins/docker:20.18.8 | ||||||
|   settings: |   settings: | ||||||
|     auto_tag: true |     auto_tag: true | ||||||
|     auto_tag_suffix: amd64 |     auto_tag_suffix: amd64 | ||||||
|  |     dockerfile: Dockerfile | ||||||
|     force_tag: true |     force_tag: true | ||||||
|     no_cache: true |     no_cache: true | ||||||
|     purge: true |     purge: true | ||||||
|  |     mirror: | ||||||
|  |       from_secret: docker_io_mirror | ||||||
|     registry: git.cryptic.systems |     registry: git.cryptic.systems | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||||
|     username: |     username: | ||||||
| @@ -585,64 +480,7 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   when: |  | ||||||
|     status: |  | ||||||
|     - changed |  | ||||||
|     - failure |  | ||||||
|  |  | ||||||
| trigger: |  | ||||||
|   event: |  | ||||||
|   - tag |  | ||||||
|   repo: |  | ||||||
|   - volker.raschek/markdownlint-docker |  | ||||||
|  |  | ||||||
| --- |  | ||||||
| kind: pipeline |  | ||||||
| type: docker |  | ||||||
| name: tagged-arm-v7 |  | ||||||
|  |  | ||||||
| clone: |  | ||||||
|   disable: true |  | ||||||
|  |  | ||||||
| platform: |  | ||||||
|   os: linux |  | ||||||
|   arch: arm |  | ||||||
|  |  | ||||||
| steps: |  | ||||||
| - name: clone |  | ||||||
|   image: docker.io/drone/git:1.2.1 |  | ||||||
|  |  | ||||||
| - name: build |  | ||||||
|   image: docker.io/plugins/docker:20.10.9 |  | ||||||
|   settings: |  | ||||||
|     auto_tag: true |  | ||||||
|     auto_tag_suffix: arm-v7 |  | ||||||
|     force_tag: true |  | ||||||
|     no_cache: true |  | ||||||
|     purge: true |  | ||||||
|     registry: git.cryptic.systems |  | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |  | ||||||
|     username: |  | ||||||
|       from_secret: git_cryptic_systems_container_registry_user |  | ||||||
|     password: |  | ||||||
|       from_secret: git_cryptic_systems_container_registry_password |  | ||||||
|     build_args: |  | ||||||
|     - MARKDOWNLINT_VERSION=${DRONE_TAG} |  | ||||||
|  |  | ||||||
| - name: email-notification |  | ||||||
|   environment: |  | ||||||
|     SMTP_FROM_ADDRESS: |  | ||||||
|       from_secret: smtp_from_address |  | ||||||
|     SMTP_FROM_NAME: |  | ||||||
|       from_secret: smtp_from_name |  | ||||||
|     SMTP_HOST: |  | ||||||
|       from_secret: smtp_host |  | ||||||
|     SMTP_USERNAME: |  | ||||||
|       from_secret: smtp_username |  | ||||||
|     SMTP_PASSWORD: |  | ||||||
|       from_secret: smtp_password |  | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |  | ||||||
|   when: |   when: | ||||||
|     status: |     status: | ||||||
|     - changed |     - changed | ||||||
| @@ -668,16 +506,19 @@ platform: | |||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: build | - name: build | ||||||
|   image: docker.io/plugins/docker:20.10.9 |   image: docker.io/plugins/docker:20.18.8 | ||||||
|   settings: |   settings: | ||||||
|     auto_tag: true |     auto_tag: true | ||||||
|     auto_tag_suffix: arm64-v8 |     auto_tag_suffix: arm64-v8 | ||||||
|  |     dockerfile: Dockerfile | ||||||
|     force_tag: true |     force_tag: true | ||||||
|     no_cache: true |     no_cache: true | ||||||
|     purge: true |     purge: true | ||||||
|  |     mirror: | ||||||
|  |       from_secret: docker_io_mirror | ||||||
|     registry: git.cryptic.systems |     registry: git.cryptic.systems | ||||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint |     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||||
|     username: |     username: | ||||||
| @@ -699,7 +540,7 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   when: |   when: | ||||||
|     status: |     status: | ||||||
|     - changed |     - changed | ||||||
| @@ -719,12 +560,21 @@ name: tagged-manifest | |||||||
| clone: | clone: | ||||||
|   disable: true |   disable: true | ||||||
|  |  | ||||||
|  | depends_on: | ||||||
|  | - tagged-amd64 | ||||||
|  | - tagged-arm64-v8 | ||||||
|  |  | ||||||
|  | # docker.io/plugins/manifest only for amd64 architectures available | ||||||
|  | node_selector: | ||||||
|  |   kubernetes.io/os: linux | ||||||
|  |   kubernetes.io/arch: amd64 | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: build-manifest | - name: build-manifest | ||||||
|   image: docker.io/plugins/manifest:latest |   image: docker.io/plugins/manifest:1.4.0 | ||||||
|   settings: |   settings: | ||||||
|     auto_tag: true |     auto_tag: true | ||||||
|     ignore_missing: true |     ignore_missing: true | ||||||
| @@ -746,7 +596,7 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   resources: |   resources: | ||||||
|     limits: |     limits: | ||||||
|       cpu: 150 |       cpu: 150 | ||||||
| @@ -756,11 +606,6 @@ steps: | |||||||
|     - changed |     - changed | ||||||
|     - failure |     - failure | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - tagged-amd64 |  | ||||||
| - tagged-arm-v7 |  | ||||||
| - tagged-arm64-v8 |  | ||||||
|  |  | ||||||
| trigger: | trigger: | ||||||
|   event: |   event: | ||||||
|   - tag |   - tag | ||||||
| @@ -775,11 +620,14 @@ name: tagged-sync | |||||||
| clone: | clone: | ||||||
|   disable: true |   disable: true | ||||||
|  |  | ||||||
|  | depends_on: | ||||||
|  | - tagged-manifest | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
| - name: clone | - name: clone | ||||||
|   image: docker.io/drone/git:1.2.1 |   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||||
|  |  | ||||||
| - name: tagged-docker-sync | - name: tagged-sync | ||||||
|   commands: |   commands: | ||||||
|   - skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/markdownlint docker.io/volkerraschek |   - skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/markdownlint docker.io/volkerraschek | ||||||
|   environment: |   environment: | ||||||
| @@ -791,7 +639,7 @@ steps: | |||||||
|       from_secret: container_image_registry_user |       from_secret: container_image_registry_user | ||||||
|     DEST_CRED_PASSWORD: |     DEST_CRED_PASSWORD: | ||||||
|       from_secret: container_image_registry_password |       from_secret: container_image_registry_password | ||||||
|   image: quay.io/skopeo/stable:v1.12.0 |   image: quay.io/skopeo/stable:v1.18.0 | ||||||
|  |  | ||||||
| - name: email-notification | - name: email-notification | ||||||
|   environment: |   environment: | ||||||
| @@ -805,7 +653,7 @@ steps: | |||||||
|       from_secret: smtp_username |       from_secret: smtp_username | ||||||
|     SMTP_PASSWORD: |     SMTP_PASSWORD: | ||||||
|       from_secret: smtp_password |       from_secret: smtp_password | ||||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 |   image: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||||
|   resources: |   resources: | ||||||
|     limits: |     limits: | ||||||
|       cpu: 150 |       cpu: 150 | ||||||
| @@ -815,11 +663,8 @@ steps: | |||||||
|     - changed |     - changed | ||||||
|     - failure |     - failure | ||||||
|  |  | ||||||
| depends_on: |  | ||||||
| - tagged-manifest |  | ||||||
|  |  | ||||||
| trigger: | trigger: | ||||||
|   event: |   event: | ||||||
|   - tag |   - tag | ||||||
|   repo: |   repo: | ||||||
|   - volker.raschek/markdownlint-docker |   - volker.raschek/markdownlint-docker | ||||||
|   | |||||||
| @@ -1,32 +0,0 @@ | |||||||
| name: build |  | ||||||
|  |  | ||||||
| on: |  | ||||||
|   push: |  | ||||||
|     branches: [ master ] |  | ||||||
|   pull_request: |  | ||||||
|     branches: [ master ] |  | ||||||
|  |  | ||||||
| jobs: |  | ||||||
|   build-x86_64: |  | ||||||
|     runs-on: x86_64 |  | ||||||
|     steps: |  | ||||||
|     - name: checkout repo |  | ||||||
|       uses: actions/checkout@v3 |  | ||||||
|     # - name: Install docker |  | ||||||
|     #   run: | |  | ||||||
|     #     apt-get update |  | ||||||
|     #     apt-get upgrade --yes |  | ||||||
|     #     apt-get install --yes ca-certificates curl gnupg |  | ||||||
|     #     install -m 0755 -d /etc/apt/keyrings |  | ||||||
|     #     curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg |  | ||||||
|     #     chmod a+r /etc/apt/keyrings/docker.gpg |  | ||||||
|     #     echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null |  | ||||||
|     #     apt-get update --yes |  | ||||||
|     #     apt-get install --yes docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin |  | ||||||
|  |  | ||||||
|  |  | ||||||
|     - name: build application |  | ||||||
|       env: |  | ||||||
|         CONTAINER_RUNTIME: podman |  | ||||||
|       shell: bash |  | ||||||
|       run: make container-image/build |  | ||||||
| @@ -1,4 +1,4 @@ | |||||||
| FROM docker.io/library/node:lts-alpine3.16 AS build | FROM docker.io/library/node:23.11.0-alpine3.20 AS build | ||||||
|  |  | ||||||
| ARG MARKDOWNLINT_VERSION=master | ARG MARKDOWNLINT_VERSION=master | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										16
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								Makefile
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| # MARKDOWNLINT_VERSION | # MARKDOWNLINT_VERSION | ||||||
| # Only required to install a specifiy version | # Only required to install a specify version | ||||||
| MARKDOWNLINT_VERSION?=v0.33.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli | MARKDOWNLINT_VERSION?=v0.44.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli | ||||||
|  |  | ||||||
| # CONTAINER_RUNTIME | # CONTAINER_RUNTIME | ||||||
| # The CONTAINER_RUNTIME variable will be used to specified the path to a | # The CONTAINER_RUNTIME variable will be used to specified the path to a | ||||||
| @@ -9,14 +9,13 @@ CONTAINER_RUNTIME?=$(shell which podman) | |||||||
|  |  | ||||||
| # MARKDOWNLINT_IMAGE_REGISTRY_NAME | # MARKDOWNLINT_IMAGE_REGISTRY_NAME | ||||||
| # Defines the name of the new container to be built using several variables. | # Defines the name of the new container to be built using several variables. | ||||||
| MARKDOWNLINT_IMAGE_REGISTRY_NAME:=docker.io | MARKDOWNLINT_IMAGE_REGISTRY_NAME?=git.cryptic.systems | ||||||
| MARKDOWNLINT_IMAGE_REGISTRY_USER:=volkerraschek | MARKDOWNLINT_IMAGE_REGISTRY_USER?=volker.raschek | ||||||
|  |  | ||||||
| MARKDOWNLINT_IMAGE_NAMESPACE?=${MARKDOWNLINT_IMAGE_REGISTRY_USER} | MARKDOWNLINT_IMAGE_NAMESPACE?=${MARKDOWNLINT_IMAGE_REGISTRY_USER} | ||||||
| MARKDOWNLINT_IMAGE_NAME:=markdownlint | MARKDOWNLINT_IMAGE_NAME:=markdownlint | ||||||
| MARKDOWNLINT_IMAGE_VERSION?=latest | MARKDOWNLINT_IMAGE_VERSION?=latest | ||||||
| MARKDOWNLINT_IMAGE_FULLY_QUALIFIED=${MARKDOWNLINT_IMAGE_REGISTRY_NAME}/${MARKDOWNLINT_IMAGE_NAMESPACE}/${MARKDOWNLINT_IMAGE_NAME}:${MARKDOWNLINT_IMAGE_VERSION} | MARKDOWNLINT_IMAGE_FULLY_QUALIFIED=${MARKDOWNLINT_IMAGE_REGISTRY_NAME}/${MARKDOWNLINT_IMAGE_NAMESPACE}/${MARKDOWNLINT_IMAGE_NAME}:${MARKDOWNLINT_IMAGE_VERSION} | ||||||
| MARKDOWNLINT_IMAGE_UNQUALIFIED=${MARKDOWNLINT_IMAGE_NAMESPACE}/${MARKDOWNLINT_IMAGE_NAME}:${MARKDOWNLINT_IMAGE_VERSION} |  | ||||||
|  |  | ||||||
| # BUILD CONTAINER IMAGE | # BUILD CONTAINER IMAGE | ||||||
| # ============================================================================== | # ============================================================================== | ||||||
| @@ -28,15 +27,14 @@ container-image/build: | |||||||
| 		--no-cache \ | 		--no-cache \ | ||||||
| 		--pull \ | 		--pull \ | ||||||
| 		--tag ${MARKDOWNLINT_IMAGE_FULLY_QUALIFIED} \ | 		--tag ${MARKDOWNLINT_IMAGE_FULLY_QUALIFIED} \ | ||||||
| 		--tag ${MARKDOWNLINT_IMAGE_UNQUALIFIED} \ | 		--tag \ | ||||||
| 		. | 		. | ||||||
|  |  | ||||||
| # DELETE CONTAINER IMAGE | # DELETE CONTAINER IMAGE | ||||||
| # ============================================================================== | # ============================================================================== | ||||||
| PHONY:=container-image/delete | PHONY:=container-image/delete | ||||||
| container-image/delete: | container-image/delete: | ||||||
| 	- ${CONTAINER_RUNTIME} image rm ${MARKDOWNLINT_IMAGE_FULLY_QUALIFIED} ${MARKDOWNLINT_IMAGE_UNQUALIFIED} | 	- ${CONTAINER_RUNTIME} image rm ${MARKDOWNLINT_IMAGE_FULLY_QUALIFIED} | ||||||
| 	- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL} |  | ||||||
|  |  | ||||||
| # PUSH CONTAINER IMAGE | # PUSH CONTAINER IMAGE | ||||||
| # ============================================================================== | # ============================================================================== | ||||||
| @@ -49,4 +47,4 @@ container-image/push: | |||||||
| # ============================================================================== | # ============================================================================== | ||||||
| # Declare the contents of the PHONY variable as phony.  We keep that information | # Declare the contents of the PHONY variable as phony.  We keep that information | ||||||
| # in a variable so we can use it in if_changed. | # in a variable so we can use it in if_changed. | ||||||
| .PHONY: ${PHONY} | .PHONY: ${PHONY} | ||||||
|   | |||||||
| @@ -11,11 +11,6 @@ manifests: | |||||||
|     platform: |     platform: | ||||||
|       architecture: amd64 |       architecture: amd64 | ||||||
|       os: linux |       os: linux | ||||||
|   - image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7 |  | ||||||
|     platform: |  | ||||||
|       architecture: arm |  | ||||||
|       os: linux |  | ||||||
|       variant: v7 |  | ||||||
|   - image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8 |   - image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8 | ||||||
|     platform: |     platform: | ||||||
|       architecture: arm64 |       architecture: arm64 | ||||||
|   | |||||||
| @@ -1,34 +1,16 @@ | |||||||
| { | { | ||||||
|   "$schema": "https://docs.renovatebot.com/renovate-schema.json", |   "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||||||
|   "assignees": [ "volker.raschek" ], |   "extends": [ | ||||||
|   "automergeStrategy": "merge-commit", |     "local>volker.raschek/renovate-config:default#master", | ||||||
|   "automergeType": "pr", |     "local>volker.raschek/renovate-config:container#master", | ||||||
|   "labels": [ "renovate" ], |     "local>volker.raschek/renovate-config:actions#master", | ||||||
|  |     "local>volker.raschek/renovate-config:regexp#master" | ||||||
|  |   ], | ||||||
|   "packageRules": [ |   "packageRules": [ | ||||||
|     { |     { | ||||||
|       "addLabels": [ "renovate/droneci", "renovate/automerge" ], |  | ||||||
|       "automerge": true, |  | ||||||
|       "matchManagers": "droneci", |  | ||||||
|       "matchUpdateTypes": [ "minor", "patch"] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "addLabels": [ "renovate/markdownlint-cli", "renovate/automerge" ], |  | ||||||
|       "automerge": false, |       "automerge": false, | ||||||
|       "matchPackageNames": [ "markdownlint-cli" ], |       "matchPackageNames": [ "markdownlint-cli" ], | ||||||
|       "matchManagers": [ "regex" ] |       "matchManagers": [ "regex" ] | ||||||
|     } |     } | ||||||
|   ], |  | ||||||
|   "rebaseLabel": "renovate/rebase", |  | ||||||
|   "rebaseWhen": "behind-base-branch", |  | ||||||
|   "regexManagers": [ |  | ||||||
|     { |  | ||||||
|       "description": "Update version", |  | ||||||
|       "fileMatch": [ |  | ||||||
|         "^Makefile$" |  | ||||||
|       ], |  | ||||||
|       "matchStrings": [ |  | ||||||
|         "MARKDOWNLINT_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?" |  | ||||||
|       ] |  | ||||||
|     } |  | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user