You've already forked markdownlint-docker
							
							Compare commits
	
		
			44 Commits
		
	
	
		
			v0.30.0
			...
			feat/migra
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 6e8a6e70f7 | |||
| bcf0eed0a9 | |||
| ab620531ed | |||
| fc500c5605 | |||
| ceebed25a0 | |||
| 55a7affa1a | |||
| 50ca134431 | |||
| 1824582a49 | |||
| 5b98632bbf | |||
| 5a8f64a0ff | |||
| 1fa4eadfc4 | |||
| 67f6b13bae | |||
| 441402ae5c | |||
| 5c87f90b5d | |||
| 4b46541ba2 | |||
| f199db68d3 | |||
| 5b1adb7440 | |||
| f672c8fb13 | |||
| 709eda51ef | |||
| 91fc78e658 | |||
| 556a2e2006 | |||
| 04b1345a71 | |||
| a5446ba303 | |||
| df22dc8219 | |||
| 251fe34445 | |||
| f3aeb335e7 | |||
| d2730585a3 | |||
| 595e325c43 | |||
| 770dc74913 | |||
| 4eff9bdbb0 | |||
| 67364ffee2 | |||
| 8c92b356b3 | |||
| 29d1ea0ff2 | |||
| 0c87bbe6eb | |||
| 16fc320a9e | |||
| 126140c94c | |||
| 67a902acaf | |||
| 76a6abc21d | |||
| b56d837ef2 | |||
| 1356b5b048 | |||
| bd50e4f7b2 | |||
| 6037be6651 | |||
| 42588b3de7 | |||
| 4c8744948a | 
							
								
								
									
										658
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										658
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -3,34 +3,42 @@ kind: pipeline | ||||
| type: kubernetes | ||||
| name: linter | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: markdown lint | ||||
|   commands: | ||||
|   - markdownlint *.md | ||||
|   image: docker.io/volkerraschek/markdownlint:0.29.0 | ||||
|   image: git.cryptic.systems/volker.raschek/markdownlint:0.33.0 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 50 | ||||
|       memory: 50M | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|  | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/drillster/drone-email:latest | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 50 | ||||
|       memory: 25M | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
| @@ -46,49 +54,51 @@ kind: pipeline | ||||
| type: docker | ||||
| name: dry-run-amd64 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: amd64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: build | ||||
|   image: plugins/docker | ||||
|   image: docker.io/plugins/docker:20.10.9 | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: false | ||||
|     dry_run: true | ||||
|     tags: latest-amd64 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
|     purge: true | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||
|     tags: latest-amd64 | ||||
|     username: | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|  | ||||
| - name: notify | ||||
|   image: drillster/drone-email | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| @@ -107,49 +117,51 @@ 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: plugins/docker | ||||
|   image: docker.io/plugins/docker:20.10.9 | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: false | ||||
|     dry_run: true | ||||
|     tags: latest-arm-v7 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|     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: notify | ||||
|   image: drillster/drone-email | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| @@ -168,49 +180,51 @@ kind: pipeline | ||||
| type: docker | ||||
| name: dry-run-arm64-v8 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: arm64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: build | ||||
|   image: plugins/docker | ||||
|   image: docker.io/plugins/docker:20.10.9 | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: false | ||||
|     dry_run: true | ||||
|     tags: latest-arm64-v8 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     registry: git.cryptic.systems | ||||
|     tags: latest-arm64-v8 | ||||
|     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 | ||||
|  | ||||
| - name: notify | ||||
|   image: drillster/drone-email | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| @@ -229,48 +243,50 @@ kind: pipeline | ||||
| type: docker | ||||
| name: latest-amd64 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: amd64 | ||||
|  | ||||
| steps: | ||||
| - name: build | ||||
|   image: plugins/docker | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: false | ||||
|     tags: latest-amd64 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|     no_cache: true | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: notify | ||||
|   image: drillster/drone-email | ||||
| - 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-amd64 | ||||
|     username: | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|  | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| @@ -288,48 +304,50 @@ kind: pipeline | ||||
| type: docker | ||||
| name: latest-arm-v7 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: arm | ||||
|  | ||||
| steps: | ||||
| - name: build | ||||
|   image: plugins/docker | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: false | ||||
|     tags: latest-arm-v7 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|     no_cache: true | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: notify | ||||
|   image: drillster/drone-email | ||||
| - 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: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| @@ -347,48 +365,50 @@ kind: pipeline | ||||
| type: docker | ||||
| name: latest-arm64-v8 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: arm64 | ||||
|  | ||||
| steps: | ||||
| - name: build | ||||
|   image: plugins/docker | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: false | ||||
|     tags: latest-arm64-v8 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|     no_cache: true | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: notify | ||||
|   image: drillster/drone-email | ||||
| - 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 | ||||
|     tags: latest-arm64-v8 | ||||
|     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 | ||||
|  | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| @@ -406,33 +426,41 @@ kind: pipeline | ||||
| type: kubernetes | ||||
| name: latest-manifest | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: build-manifest | ||||
|   image: plugins/manifest | ||||
|   image: docker.io/plugins/manifest:latest | ||||
|   settings: | ||||
|     auto_tag: false | ||||
|     ignore_missing: true | ||||
|     spec: manifest.tmpl | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|  | ||||
| - name: notify | ||||
|   image: docker.io/drillster/drone-email:latest | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 50 | ||||
|       memory: 25M | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
| @@ -443,6 +471,66 @@ depends_on: | ||||
| - latest-arm-v7 | ||||
| - latest-arm64-v8 | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|   - master | ||||
|   event: | ||||
|   - cron | ||||
|   - push | ||||
|   repo: | ||||
|   - volker.raschek/markdownlint-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: latest-sync | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| depends_on: | ||||
| - latest-manifest | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: latest-docker-sync | ||||
|   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 | ||||
|   environment: | ||||
|     SRC_CRED_USERNAME: | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     SRC_CRED_PASSWORD: | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|     DEST_CRED_USERNAME: | ||||
|       from_secret: container_image_registry_user | ||||
|     DEST_CRED_PASSWORD: | ||||
|       from_secret: container_image_registry_password | ||||
|   image: quay.io/skopeo/stable:v1.12.0 | ||||
|  | ||||
| - 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 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|   - master | ||||
| @@ -457,50 +545,52 @@ kind: pipeline | ||||
| type: docker | ||||
| name: tagged-amd64 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: amd64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: build | ||||
|   image: plugins/docker | ||||
|   image: docker.io/plugins/docker:20.10.9 | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: true | ||||
|     auto_tag_suffix: amd64 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|     build_args: | ||||
|     - MARKDOWNLINT_VERSION=${DRONE_TAG} | ||||
|     no_cache: true | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| - name: notify | ||||
|   image: drillster/drone-email | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| trigger: | ||||
|   event: | ||||
|   - tag | ||||
| @@ -512,50 +602,52 @@ 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: plugins/docker | ||||
|   image: docker.io/plugins/docker:20.10.9 | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: true | ||||
|     auto_tag_suffix: arm-v7 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|     build_args: | ||||
|     - MARKDOWNLINT_VERSION=${DRONE_TAG} | ||||
|     no_cache: true | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| - name: notify | ||||
|   image: drillster/drone-email | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| trigger: | ||||
|   event: | ||||
|   - tag | ||||
| @@ -567,50 +659,52 @@ kind: pipeline | ||||
| type: docker | ||||
| name: tagged-arm64-v8 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: arm64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: build | ||||
|   image: plugins/docker | ||||
|   image: docker.io/plugins/docker:20.10.9 | ||||
|   settings: | ||||
|     dockerfile: Dockerfile | ||||
|     auto_tag: true | ||||
|     auto_tag_suffix: arm64-v8 | ||||
|     repo: volkerraschek/markdownlint | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/markdownlint | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|     build_args: | ||||
|     - MARKDOWNLINT_VERSION=${DRONE_TAG} | ||||
|     no_cache: true | ||||
|   volumes: | ||||
|   - name: docker_socket | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| - name: notify | ||||
|   image: drillster/drone-email | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| volumes: | ||||
| - name: docker_socket | ||||
|   host: | ||||
|     path: /var/run/docker.sock | ||||
|  | ||||
| trigger: | ||||
|   event: | ||||
|   - tag | ||||
| @@ -622,33 +716,41 @@ kind: pipeline | ||||
| type: kubernetes | ||||
| name: tagged-manifest | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: build-manifest | ||||
|   image: plugins/manifest | ||||
|   image: docker.io/plugins/manifest:latest | ||||
|   settings: | ||||
|     auto_tag: true | ||||
|     ignore_missing: true | ||||
|     spec: manifest.tmpl | ||||
|     username: | ||||
|       from_secret: container_image_registry_user | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: container_image_registry_password | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|  | ||||
| - name: notify | ||||
|   image: docker.io/drillster/drone-email:latest | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 50 | ||||
|       memory: 25M | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
| @@ -668,54 +770,56 @@ trigger: | ||||
| --- | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: sync | ||||
| name: tagged-sync | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: amd64 | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| steps: | ||||
| - name: github | ||||
|   image: docker.io/appleboy/drone-git-push:latest | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 50 | ||||
|       memory: 25M | ||||
|   settings: | ||||
|     branch: master | ||||
|     remote: ssh://git@github.com/volker-raschek/markdownlint-docker.git | ||||
|     force: true | ||||
|     ssh_key: | ||||
|       from_secret: ssh_key | ||||
| - name: clone | ||||
|   image: docker.io/drone/git:1.2.1 | ||||
|  | ||||
| - name: tagged-docker-sync | ||||
|   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 | ||||
|   environment: | ||||
|     SRC_CRED_USERNAME: | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     SRC_CRED_PASSWORD: | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|     DEST_CRED_USERNAME: | ||||
|       from_secret: container_image_registry_user | ||||
|     DEST_CRED_PASSWORD: | ||||
|       from_secret: container_image_registry_password | ||||
|   image: quay.io/skopeo/stable:v1.12.0 | ||||
|  | ||||
| - name: email-notification | ||||
|   environment: | ||||
|     PLUGIN_HOST: | ||||
|     SMTP_FROM_ADDRESS: | ||||
|       from_secret: smtp_from_address | ||||
|     SMTP_FROM_NAME: | ||||
|       from_secret: smtp_from_name | ||||
|     SMTP_HOST: | ||||
|       from_secret: smtp_host | ||||
|     PLUGIN_USERNAME: | ||||
|     SMTP_USERNAME: | ||||
|       from_secret: smtp_username | ||||
|     PLUGIN_PASSWORD: | ||||
|     SMTP_PASSWORD: | ||||
|       from_secret: smtp_password | ||||
|     PLUGIN_FROM: | ||||
|       from_secret: smtp_mail_address | ||||
|   image: docker.io/drillster/drone-email:latest | ||||
|   image: docker.io/volkerraschek/drone-email:0.1.1 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 50 | ||||
|       memory: 25M | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| depends_on: | ||||
| - latest-manifest | ||||
| - tagged-manifest | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|   - master | ||||
|   event: | ||||
|   - cron | ||||
|   - push | ||||
|   - tag | ||||
|   repo: | ||||
|   - volker.raschek/markdownlint-docker | ||||
							
								
								
									
										32
									
								
								.gitea/workflows/build.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								.gitea/workflows/build.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
| 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
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,2 +1,3 @@ | ||||
| # IntelliJ | ||||
| .idea/ | ||||
| sync.sh | ||||
							
								
								
									
										25
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								Dockerfile
									
									
									
									
									
								
							| @@ -1,18 +1,19 @@ | ||||
| FROM docker.io/library/alpine:3.12 | ||||
| FROM docker.io/library/node:lts-alpine3.16 AS build | ||||
|  | ||||
| ARG NODEJS_VERSION=12.22.6-r0 | ||||
| ARG MARKDOWNLINT_VERSION | ||||
| ARG MARKDOWNLINT_VERSION=master | ||||
|  | ||||
| RUN set -ex && \ | ||||
|     apk add --no-cache nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION} | ||||
|     apk update && \ | ||||
|     apk upgrade && \ | ||||
|     apk add --no-cache git | ||||
|  | ||||
| RUN if [ ! -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli@${MARKDOWNLINT_VERSION}; fi | ||||
| RUN if [ -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli; fi | ||||
|  | ||||
| RUN set -ex && \ | ||||
|     npm cache clean --force && \ | ||||
|     apk del nodejs-npm | ||||
| RUN git clone --branch ${MARKDOWNLINT_VERSION} https://github.com/igorshubovych/markdownlint-cli /markdownlint && \ | ||||
|     cd /markdownlint && \ | ||||
|     npm install --production && \ | ||||
|     npm install --global | ||||
|  | ||||
| WORKDIR /work | ||||
| ENTRYPOINT ["/usr/bin/markdownlint"] | ||||
| CMD ["."] | ||||
|  | ||||
| RUN ln -fs /work /workspace | ||||
|  | ||||
| ENTRYPOINT [ "/usr/local/bin/markdownlint" ] | ||||
|   | ||||
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @@ -1,11 +1,11 @@ | ||||
| # MARKDOWNLINT_VERSION | ||||
| # Only required to install a specifiy version | ||||
| MARKDOWNLINT_VERSION?= | ||||
| MARKDOWNLINT_VERSION?=v0.33.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli | ||||
|  | ||||
| # CONTAINER_RUNTIME | ||||
| # The CONTAINER_RUNTIME variable will be used to specified the path to a | ||||
| # container runtime. This is needed to start and run a container image. | ||||
| CONTAINER_RUNTIME?=$(shell which docker) | ||||
| CONTAINER_RUNTIME?=$(shell which podman) | ||||
|  | ||||
| # MARKDOWNLINT_IMAGE_REGISTRY_NAME | ||||
| # Defines the name of the new container to be built using several variables. | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} | ||||
| image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} | ||||
| {{#if build.tags}} | ||||
| tags: | ||||
| {{#each build.tags}} | ||||
| @@ -7,19 +7,16 @@ tags: | ||||
|   - "latest" | ||||
| {{/if}} | ||||
| manifests: | ||||
|   - | ||||
|     image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64 | ||||
|   - image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64 | ||||
|     platform: | ||||
|       architecture: amd64 | ||||
|       os: linux | ||||
|   - | ||||
|     image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7 | ||||
|   - 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: volkerraschek/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: | ||||
|       architecture: arm64 | ||||
|       os: linux | ||||
|   | ||||
| @@ -1,8 +1,34 @@ | ||||
| { | ||||
|   "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||||
|   "automerge": true, | ||||
|   "assignees": [ "volker.raschek" ], | ||||
|   "automergeStrategy": "merge-commit", | ||||
|   "automergeType": "pr", | ||||
|   "labels": [ "renovate" ], | ||||
|   "packageRules": [ | ||||
|     { | ||||
|       "addLabels": [ "renovate/droneci", "renovate/automerge" ], | ||||
|       "automerge": true, | ||||
|       "matchManagers": "droneci", | ||||
|       "matchUpdateTypes": [ "minor", "patch"] | ||||
|     }, | ||||
|     { | ||||
|       "addLabels": [ "renovate/markdownlint-cli", "renovate/automerge" ], | ||||
|       "automerge": false, | ||||
|       "matchPackageNames": [ "markdownlint-cli" ], | ||||
|       "matchManagers": [ "regex" ] | ||||
|     } | ||||
|   ], | ||||
|   "rebaseLabel": "renovate/rebase", | ||||
|   "rebaseWhen": "behind-base-branch" | ||||
|   "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