You've already forked docker-compose-docker
							
							Compare commits
	
		
			85 Commits
		
	
	
		
			v2.33.1
			...
			140447ea60
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 140447ea60 | |||
| fb11864497 | |||
| 3591183c71 | |||
| 4ad2f2b9d6 | |||
| 6767f0711a | |||
| d7cbda82e7 | |||
| 5004ee907c | |||
| 2e01ff466d | |||
| 1b398becf9 | |||
| 88f22d772a | |||
| aa57016253 | |||
| 321639b8da | |||
| 42ccbb2f8e | |||
| 950ef931a1 | |||
| 60e5bf6475 | |||
| ff710d93ce | |||
| 6edf118f10 | |||
| 4362c4c70d | |||
| 7941b90daf | |||
| 69b786d1bf | |||
| 72405951e1 | |||
| 8ea414b0fd | |||
| 2462b75bd5 | |||
| 1a58bbb2b9 | |||
| 15b7f0bab7 | |||
| 4389fec2af | |||
| 7f2d709e67 | |||
| 31a5f5d54e | |||
| 5274d03e85 | |||
| 91de1df637 | |||
| d5fd28ca48 | |||
| a73876cd59 | |||
| 1737ee3019 | |||
| d3ac9ef684 | |||
| 49f063ffbb | |||
| 62486ccfd5 | |||
| f8329d6003 | |||
| 84a1f46ab0 | |||
| 10e5f513bf | |||
| 7d85aaf04c | |||
| 7b1f749698 | |||
| 6b2ea0d896 | |||
| 95ad984e01 | |||
| dccf3c3093 | |||
| fd87fbd437 | |||
| 17cc804f00 | |||
| 5d154c71b6 | |||
| 8e89e731a4 | |||
| e020bda59c | |||
| fa5e8b0b35 | |||
| 4f01122d67 | |||
| f6aff367ab | |||
| e05c8f6c6d | |||
| 5d6a2a6013 | |||
| 966c00b2fb | |||
| d385a3ad1d | |||
| e7afe5bede | |||
| c2c1dd9cba | |||
| 4bc581d059 | |||
| 8fbc5ee077 | |||
| e0dce1bca5 | |||
| 183aa24e04 | |||
| f0d4b7fed6 | |||
| 2efe2c8db2 | |||
| 441f3a62f1 | |||
| b8e540a75b | |||
| 3afb5a8ebf | |||
| f9cf3d2bd4 | |||
| 0421906f84 | |||
| 6b2f4de5cb | |||
| e0845fe8c0 | |||
| c2c098d067 | |||
| b635d57b9c | |||
| 51307adbbc | |||
| 9ebe60b86c | |||
| 0fa77dcdc4 | |||
| 0cb2cf6f08 | |||
| 0e183593f8 | |||
| 6840d711ef | |||
| 300a24807b | |||
| efba7d9140 | |||
| b6cf651a15 | |||
| 1d3f0dd08e | |||
| 7335c15d79 | |||
| 56176dd60f | 
							
								
								
									
										670
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										670
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -1,670 +0,0 @@ | ||||
| --- | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: linter | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: markdown lint | ||||
|   commands: | ||||
|   - markdownlint *.md | ||||
|   image: git.cryptic.systems/volker.raschek/markdownlint:0.43.0 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|  | ||||
| - 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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   event: | ||||
|     exclude: | ||||
|     - tag | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: dry-run-amd64 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: amd64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: build | ||||
|   image: docker.io/plugins/docker:20.18.7 | ||||
|   settings: | ||||
|     auto_tag: false | ||||
|     dockerfile: Dockerfile | ||||
|     dry_run: true | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     mirror: | ||||
|       from_secret: docker_io_mirror | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/docker-compose | ||||
|     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: | ||||
|     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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|     exclude: | ||||
|     - master | ||||
|   event: | ||||
|   - pull_request | ||||
|   - push | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: dry-run-arm64-v8 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: arm64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: build | ||||
|   image: docker.io/plugins/docker:20.18.7 | ||||
|   settings: | ||||
|     auto_tag: false | ||||
|     dockerfile: Dockerfile | ||||
|     dry_run: true | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     mirror: | ||||
|       from_secret: docker_io_mirror | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/docker-compose | ||||
|     tags: latest-arm64-v8 | ||||
|     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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|     exclude: | ||||
|     - master | ||||
|   event: | ||||
|   - pull_request | ||||
|   - push | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: latest-amd64 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: amd64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: build | ||||
|   image: docker.io/plugins/docker:20.18.7 | ||||
|   settings: | ||||
|     auto_tag: false | ||||
|     dockerfile: Dockerfile | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     mirror: | ||||
|       from_secret: docker_io_mirror | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/docker-compose | ||||
|     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: | ||||
|     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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|   - master | ||||
|   event: | ||||
|   - cron | ||||
|   - push | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: latest-arm64-v8 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| depends_on: | ||||
| - linter | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: arm64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: build | ||||
|   image: docker.io/plugins/docker:20.18.7 | ||||
|   settings: | ||||
|     auto_tag: false | ||||
|     dockerfile: Dockerfile | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     mirror: | ||||
|       from_secret: docker_io_mirror | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/docker-compose | ||||
|     tags: latest-arm64-v8 | ||||
|     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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|   - master | ||||
|   event: | ||||
|   - cron | ||||
|   - push | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: latest-manifest | ||||
|  | ||||
| clone: | ||||
|   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: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: build-manifest | ||||
|   image: docker.io/plugins/manifest:1.4.0 | ||||
|   settings: | ||||
|     auto_tag: false | ||||
|     ignore_missing: true | ||||
|     spec: manifest.tmpl | ||||
|     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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|   - master | ||||
|   event: | ||||
|   - cron | ||||
|   - push | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: latest-sync | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| depends_on: | ||||
| - latest-manifest | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: latest-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/docker-compose 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.17.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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   branch: | ||||
|   - master | ||||
|   event: | ||||
|   - cron | ||||
|   - push | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: tagged-amd64 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: amd64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: build | ||||
|   image: docker.io/plugins/docker:20.18.7 | ||||
|   settings: | ||||
|     auto_tag: true | ||||
|     auto_tag_suffix: amd64 | ||||
|     dockerfile: Dockerfile | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     mirror: | ||||
|       from_secret: docker_io_mirror | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/docker-compose | ||||
|     username: | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|     build_args: | ||||
|     - DC_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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   event: | ||||
|   - tag | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: tagged-arm64-v8 | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| platform: | ||||
|   os: linux | ||||
|   arch: arm64 | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: build | ||||
|   image: docker.io/plugins/docker:20.18.7 | ||||
|   settings: | ||||
|     auto_tag: true | ||||
|     auto_tag_suffix: arm64-v8 | ||||
|     dockerfile: Dockerfile | ||||
|     force_tag: true | ||||
|     no_cache: true | ||||
|     purge: true | ||||
|     mirror: | ||||
|       from_secret: docker_io_mirror | ||||
|     registry: git.cryptic.systems | ||||
|     repo: git.cryptic.systems/volker.raschek/docker-compose | ||||
|     username: | ||||
|       from_secret: git_cryptic_systems_container_registry_user | ||||
|     password: | ||||
|       from_secret: git_cryptic_systems_container_registry_password | ||||
|     build_args: | ||||
|     - DC_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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   event: | ||||
|   - tag | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: tagged-manifest | ||||
|  | ||||
| clone: | ||||
|   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: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: build-manifest | ||||
|   image: docker.io/plugins/manifest:1.4.0 | ||||
|   settings: | ||||
|     auto_tag: true | ||||
|     ignore_missing: true | ||||
|     spec: manifest.tmpl | ||||
|     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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   event: | ||||
|   - tag | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: tagged-sync | ||||
|  | ||||
| clone: | ||||
|   disable: true | ||||
|  | ||||
| depends_on: | ||||
| - tagged-manifest | ||||
|  | ||||
| steps: | ||||
| - name: clone | ||||
|   image: git.cryptic.systems/volker.raschek/git:1.4.0 | ||||
|  | ||||
| - name: tagged-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/docker-compose 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.17.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: git.cryptic.systems/volker.raschek/drone-email:0.1.5 | ||||
|   resources: | ||||
|     limits: | ||||
|       cpu: 150 | ||||
|       memory: 150M | ||||
|   when: | ||||
|     status: | ||||
|     - changed | ||||
|     - failure | ||||
|  | ||||
| trigger: | ||||
|   event: | ||||
|   - tag | ||||
|   repo: | ||||
|   - volker.raschek/docker-compose-docker | ||||
							
								
								
									
										80
									
								
								.gitea/workflows/auto-release.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								.gitea/workflows/auto-release.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,80 @@ | ||||
| name: Auto release | ||||
|  | ||||
| on: | ||||
|   push: | ||||
|     branches: [ "master" ] | ||||
|     paths: | ||||
|     - Makefile | ||||
|  | ||||
| env: | ||||
|   GIT_EMAIL: noreply@cryptic.systems | ||||
|   GIT_USER: CSRBot | ||||
|  | ||||
| jobs: | ||||
|   tag_on_change: | ||||
|     permissions: | ||||
|       contents: write | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v5.0.0 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|  | ||||
|       - name: Check if DC_VERSION line changed | ||||
|         id: check_change | ||||
|         run: | | ||||
|           echo "changed=false" >> $GITHUB_OUTPUT | ||||
|  | ||||
|           for file in Makefile; do | ||||
|             if git diff HEAD~1 HEAD -- "${file}" | grep --quiet '^[+-]DC_VERSION'; then | ||||
|               echo "DC_VERSION line changed." | ||||
|               echo "changed=true" >> $GITHUB_OUTPUT | ||||
|               break | ||||
|             fi | ||||
|           done | ||||
|  | ||||
|       - name: Stop if no change detected | ||||
|         if: steps.check_change.outputs.changed == 'false' | ||||
|         run: echo "No DC_VERSION change. Exiting..." | ||||
|  | ||||
|       - name: Get latest tag | ||||
|         if: steps.check_change.outputs.changed == 'true' | ||||
|         id: get_tag | ||||
|         run: | | ||||
|           latest_tag=$(git tag --sort=-v:refname | grep --extended-regexp '^v[0-9]+\.[0-9]+\.[0-9]+$' | head --lines 1 || echo "0.0.0") | ||||
|           echo "latest_tag=$latest_tag" >> $GITHUB_OUTPUT | ||||
|           echo "Latest tag: $latest_tag" | ||||
|  | ||||
|  | ||||
|       - name: Increment patch version | ||||
|         if: steps.check_change.outputs.changed == 'true' | ||||
|         id: bump | ||||
|         run: | | ||||
|           latest_tag=${{ steps.get_tag.outputs.latest_tag }} | ||||
|           IFS='.' read -r major minor patch <<< "$latest_tag" | ||||
|           patch=$((patch + 1)) | ||||
|           new_tag="${major}.${minor}.${patch}" | ||||
|           echo "new_tag=$new_tag" >> $GITHUB_OUTPUT | ||||
|           echo "New tag: $new_tag" | ||||
|  | ||||
|       - name: Create and push new tag | ||||
|         if: steps.check_change.outputs.changed == 'true' | ||||
|         env: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|         run: | | ||||
|           new_tag=${{ steps.bump.outputs.new_tag }} | ||||
|           git config --local user.name "${GIT_USER}" | ||||
|           git config --local user.email "${GIT_EMAIL}" | ||||
|           git tag -a "${new_tag}" -m "${new_tag}" | ||||
|           git push origin "${new_tag}" | ||||
|  | ||||
|       - name: Trigger "Push tagged images" workflow | ||||
|         if: steps.check_change.outputs.changed == 'true' | ||||
|         uses: peter-evans/repository-dispatch@v4.0.0 | ||||
|         with: | ||||
|           token: ${{ secrets.GITHUB_TOKEN }} | ||||
|           event-type: push-tagged-images | ||||
|           client-payload: | | ||||
|             { | ||||
|               "tag": "${{ steps.bump.outputs.new_tag }}" | ||||
|             } | ||||
							
								
								
									
										49
									
								
								.gitea/workflows/build.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								.gitea/workflows/build.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,49 @@ | ||||
| name: Build | ||||
|  | ||||
| on: | ||||
|   pull_request: | ||||
|     types: | ||||
|     - "opened" | ||||
|     - "reopened" | ||||
|     - "synchronize" | ||||
|   push: | ||||
|     branches: | ||||
|     - master | ||||
|   workflow_dispatch: {} | ||||
|  | ||||
| jobs: | ||||
|   build-arm64: | ||||
|     runs-on: ubuntu-latest-arm64 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v5.0.0 | ||||
|       - uses: docker/setup-qemu-action@v3.6.0 | ||||
|       - uses: docker/setup-buildx-action@v3.11.1 | ||||
|  | ||||
|       - name: Build image | ||||
|         run: | | ||||
|           TAG=latest | ||||
|  | ||||
|           docker buildx build \ | ||||
|             --platform linux/arm64 \ | ||||
|             --file Dockerfile \ | ||||
|             --provenance false \ | ||||
|             --tag git.cryptic.systems/volker.raschek/docker-compose:${TAG}-arm64 \ | ||||
|             . | ||||
|  | ||||
|   build-amd64: | ||||
|     runs-on: ubuntu-latest-amd64 | ||||
|     steps: | ||||
|       - uses: actions/checkout@v5.0.0 | ||||
|       - uses: docker/setup-qemu-action@v3.6.0 | ||||
|       - uses: docker/setup-buildx-action@v3.11.1 | ||||
|  | ||||
|       - name: Build image | ||||
|         run: | | ||||
|           TAG=latest | ||||
|  | ||||
|           docker buildx build \ | ||||
|             --platform linux/amd64 \ | ||||
|             --file Dockerfile \ | ||||
|             --provenance false \ | ||||
|             --tag git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \ | ||||
|             . | ||||
							
								
								
									
										21
									
								
								.gitea/workflows/markdown-linters.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.gitea/workflows/markdown-linters.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| name: 'Lint Markdown files' | ||||
|  | ||||
| on: | ||||
|   pull_request: | ||||
|     types: | ||||
|     - opened | ||||
|     - reopened | ||||
|     - synchronize | ||||
|   push: | ||||
|     branches: | ||||
|     - master | ||||
|   workflow_dispatch: {} | ||||
|  | ||||
| jobs: | ||||
|   markdown-lint: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v5.0.0 | ||||
|     - uses: DavidAnson/markdownlint-cli2-action@v19.1.0 | ||||
|       with: | ||||
|         globs: '**/*.md' | ||||
							
								
								
									
										135
									
								
								.gitea/workflows/release.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										135
									
								
								.gitea/workflows/release.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,135 @@ | ||||
| name: Release | ||||
|  | ||||
| on: | ||||
|   push: | ||||
|     tags: | ||||
|     - "**" | ||||
|   repository_dispatch: | ||||
|     types: [ push-tagged-images ] | ||||
|  | ||||
| jobs: | ||||
|   push-arm64: | ||||
|     runs-on: ubuntu-latest-arm64 | ||||
|     steps: | ||||
|       - id: version_extraction | ||||
|         name: Extract git tag | ||||
|         run: | | ||||
|           VERSION="${{ github.event.client_payload.tag || github.ref_name }}" | ||||
|           VERSION="${VERSION#refs/*/}" | ||||
|           echo "Version: ${VERSION}" | ||||
|           echo "version=${VERSION}" >> $GITHUB_OUTPUT | ||||
|  | ||||
|       - uses: actions/checkout@v5.0.0 | ||||
|         with: | ||||
|           fetch-tags: true | ||||
|           ref: "${{ steps.version_extraction.outputs.version }}" | ||||
|  | ||||
|       - uses: docker/setup-qemu-action@v3.6.0 | ||||
|       - uses: docker/setup-buildx-action@v3.11.1 | ||||
|  | ||||
|       - uses: docker/login-action@v3.6.0 | ||||
|         with: | ||||
|           registry: git.cryptic.systems | ||||
|           username: ${{ github.repository_owner }} | ||||
|           password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} | ||||
|  | ||||
|       - name: Build and push image | ||||
|         run: | | ||||
|           docker buildx build \ | ||||
|             --platform linux/arm64 \ | ||||
|             --file Dockerfile \ | ||||
|             --provenance false \ | ||||
|             --tag git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version }}-arm64 \ | ||||
|             --push \ | ||||
|             . | ||||
|  | ||||
|   push-amd64: | ||||
|     runs-on: ubuntu-latest-amd64 | ||||
|     steps: | ||||
|       - id: version_extraction | ||||
|         name: Extract git tag | ||||
|         run: | | ||||
|           VERSION="${{ github.event.client_payload.tag || github.ref_name }}" | ||||
|           VERSION="${VERSION#refs/*/}" | ||||
|           echo "Version: ${VERSION}" | ||||
|           echo "version=${VERSION}" >> $GITHUB_OUTPUT | ||||
|  | ||||
|       - uses: actions/checkout@v5.0.0 | ||||
|         with: | ||||
|           fetch-tags: true | ||||
|           ref: "${{ steps.version_extraction.outputs.version }}" | ||||
|  | ||||
|       - uses: docker/setup-qemu-action@v3.6.0 | ||||
|       - uses: docker/setup-buildx-action@v3.11.1 | ||||
|  | ||||
|       - uses: docker/login-action@v3.6.0 | ||||
|         with: | ||||
|           registry: git.cryptic.systems | ||||
|           username: ${{ github.repository_owner }} | ||||
|           password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} | ||||
|  | ||||
|       - name: Build and push image | ||||
|         run: | | ||||
|           docker buildx build \ | ||||
|             --platform linux/amd64 \ | ||||
|             --file Dockerfile \ | ||||
|             --provenance false \ | ||||
|             --tag git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version }}-amd64 \ | ||||
|             --push \ | ||||
|             . | ||||
|  | ||||
|   push-manifest: | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: | ||||
|     - push-arm64 | ||||
|     - push-amd64 | ||||
|     steps: | ||||
|       - id: version_extraction | ||||
|         name: Extract git tag | ||||
|         run: | | ||||
|           VERSION="${{ github.event.client_payload.tag || github.ref_name }}" | ||||
|           VERSION="${VERSION#refs/*/}" | ||||
|           echo "Version: ${VERSION}" | ||||
|           echo "version=${VERSION}" >> $GITHUB_OUTPUT | ||||
|  | ||||
|       - uses: docker/login-action@v3.6.0 | ||||
|         with: | ||||
|           registry: git.cryptic.systems | ||||
|           username: ${{ github.repository_owner }} | ||||
|           password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} | ||||
|  | ||||
|       - name: Create and push manifest | ||||
|         run: | | ||||
|           docker manifest create git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version }} \ | ||||
|             --amend git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version }}-amd64 \ | ||||
|             --amend git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version }}-arm64 | ||||
|  | ||||
|           docker manifest push git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version }} | ||||
|  | ||||
|   sync-to-hub-docker-io: | ||||
|     needs: | ||||
|     - push-manifest | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - id: version_extraction | ||||
|         name: Extract git tag | ||||
|         run: | | ||||
|           VERSION="${{ github.event.client_payload.tag || github.ref_name }}" | ||||
|           VERSION="${VERSION#refs/*/}" | ||||
|           echo "Version: ${VERSION}" | ||||
|           echo "version=${VERSION}" >> $GITHUB_OUTPUT | ||||
|  | ||||
|       - name: Copy images to docker.io | ||||
|         run: | | ||||
|           TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm') | ||||
|  | ||||
|           apt-get update --yes | ||||
|           apt-get install --yes skopeo | ||||
|           skopeo copy \ | ||||
|             --all \ | ||||
|             --dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \ | ||||
|             --dest-username ${{ secrets.DOCKER_IO_USERNAME }} \ | ||||
|             --src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \ | ||||
|             --src-username volker.raschek \ | ||||
|               docker://git.cryptic.systems/volker.raschek/docker-compose:${{ steps.version_extraction.outputs.version }} \ | ||||
|               docker://docker.io/volkerraschek/docker-compose:${{ steps.version_extraction.outputs.version }} | ||||
							
								
								
									
										22
									
								
								.gitea/workflows/update-docker-hub-description.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.gitea/workflows/update-docker-hub-description.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| name: Update Docker Hub Description | ||||
|  | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|     - master | ||||
|     paths: | ||||
|     - README.md | ||||
|   workflow_dispatch: {} | ||||
|  | ||||
| jobs: | ||||
|   update-description-on-hub-docker-io: | ||||
|     runs-on: | ||||
|     - ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v5.0.0 | ||||
|     - uses: peter-evans/dockerhub-description@v5.0.0 | ||||
|       with: | ||||
|         username: ${{ secrets.DOCKER_IO_USERNAME }} | ||||
|         password: ${{ secrets.DOCKER_IO_PASSWORD }} | ||||
|         repository: volkerraschek/docker-compose | ||||
|         readme-filepath: README.md | ||||
| @@ -56,8 +56,6 @@ MD013: | ||||
|   tables: false | ||||
|   # Include headings | ||||
|   headings: true | ||||
|   # Include headings | ||||
|   headers: true | ||||
|   # Strict length checking | ||||
|   strict: false | ||||
|   # Stern length checking | ||||
| @@ -70,11 +68,6 @@ MD022: | ||||
|   # Blank lines below heading | ||||
|   lines_below: 1 | ||||
|  | ||||
| # MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content | ||||
| MD024: | ||||
|   # Only check sibling headings | ||||
|   allow_different_nesting: true | ||||
|  | ||||
| # MD025/single-title/single-h1 - Multiple top-level headings in the same document | ||||
| MD025: | ||||
|   # Heading level | ||||
|   | ||||
| @@ -1,6 +1,9 @@ | ||||
| FROM docker.io/library/golang:1.24.0-alpine3.20 AS build | ||||
| FROM docker.io/library/golang:1.25.3-alpine3.21 AS build | ||||
|  | ||||
| ARG DC_VERSION=main | ||||
| ARG GONOSUMDB | ||||
| ARG GOPRIVATE | ||||
| ARG GOPROXY | ||||
|  | ||||
| RUN set -ex && \ | ||||
|     apk update && \ | ||||
| @@ -11,7 +14,7 @@ RUN git clone https://github.com/docker/compose.git --branch ${DC_VERSION} docke | ||||
|     cd docker-compose && \ | ||||
|     make DESTDIR=/cache | ||||
|  | ||||
| FROM docker.io/library/alpine:3.21 | ||||
| FROM docker.io/library/alpine:3.22 | ||||
|  | ||||
| COPY --from=build /cache/docker-compose /usr/bin/docker-compose | ||||
|  | ||||
|   | ||||
							
								
								
									
										17
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								Makefile
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | ||||
| # DC_VERSION | ||||
| # Only required to install a specifiy version | ||||
| DC_VERSION?=v2.33.1 # renovate: datasource=github-releases depName=docker/compose | ||||
| # Only required to install a specify version | ||||
| DC_VERSION?=v2.40.2 # renovate: datasource=github-releases depName=docker/compose | ||||
|  | ||||
| # CONTAINER_RUNTIME | ||||
| # The CONTAINER_RUNTIME variable will be used to specified the path to a container runtime. This is needed to start and | ||||
| @@ -9,20 +9,28 @@ CONTAINER_RUNTIME?=$(shell which podman) | ||||
|  | ||||
| # DC_IMAGE_REGISTRY_NAME | ||||
| # Defines the name of the new container to be built using several variables. | ||||
| DC_IMAGE_REGISTRY_NAME:=git.cryptic.systems | ||||
| DC_IMAGE_REGISTRY_USER:=volker.raschek | ||||
| DC_IMAGE_REGISTRY_NAME?=git.cryptic.systems | ||||
| DC_IMAGE_REGISTRY_USER?=volker.raschek | ||||
|  | ||||
| DC_IMAGE_NAMESPACE?=${DC_IMAGE_REGISTRY_USER} | ||||
| DC_IMAGE_NAME:=docker-compose | ||||
| DC_IMAGE_VERSION?=latest | ||||
| DC_IMAGE_FULLY_QUALIFIED=${DC_IMAGE_REGISTRY_NAME}/${DC_IMAGE_NAMESPACE}/${DC_IMAGE_NAME}:${DC_IMAGE_VERSION} | ||||
|  | ||||
| # Golang related environment variables | ||||
| GONOSUMDB?= | ||||
| GOPRIVATE?= | ||||
| GOPROXY?= | ||||
|  | ||||
| # BUILD CONTAINER IMAGE | ||||
| # ===================================================================================================================== | ||||
| PHONY:=container-image/build | ||||
| container-image/build: | ||||
| 	${CONTAINER_RUNTIME} build \ | ||||
| 		--build-arg DC_VERSION=${DC_VERSION} \ | ||||
| 		--build-arg GONOSUMDB=${GONOSUMDB} \ | ||||
| 		--build-arg GOPRIVATE=${GOPRIVATE} \ | ||||
| 		--build-arg GOPROXY=${GOPROXY} \ | ||||
| 		--file Dockerfile \ | ||||
| 		--no-cache \ | ||||
| 		--pull \ | ||||
| @@ -34,7 +42,6 @@ container-image/build: | ||||
| PHONY:=container-image/delete | ||||
| container-image/delete: | ||||
| 	- ${CONTAINER_RUNTIME} image rm ${DC_IMAGE_FULLY_QUALIFIED} | ||||
| 	- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL} | ||||
|  | ||||
| # PUSH CONTAINER IMAGE | ||||
| # ===================================================================================================================== | ||||
|   | ||||
							
								
								
									
										24
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,10 +1,22 @@ | ||||
| # docker-compose-docker | ||||
| # docker-compose | ||||
|  | ||||
| [](https://drone.cryptic.systems/volker.raschek/docker-compose-docker) | ||||
| [](https://hub.docker.com/r/volkerraschek/docker-compose) | ||||
|  | ||||
| This project contains all sources to build the container image `docker.io/volkerraschek/docker-compose`. The primary | ||||
| goal of this project is to package the binary `docker-compose` as container image. The source code of the binary can be | ||||
| found in the upstream project of [docker/compose](https://github.com/docker/compose). | ||||
| This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/docker-compose`. The | ||||
| primary goal of this project is to package the binary `docker-compose` as container image. The source code of the binary | ||||
| can be found in the upstream project of [docker/compose](https://github.com/docker/compose). | ||||
|  | ||||
| The workflow or how `docker-compose` can in general be used is documented [here](https://docs.docker.com/compose/). | ||||
| The workflow or how `docker-compose` can in general be used is documented at | ||||
| [docs.docker.com](https://docs.docker.com/compose/). Nevertheless, here are some examples of how to use the container | ||||
| image. | ||||
|  | ||||
| ```bash | ||||
| IMAGE_VERSION=2.40.2 | ||||
| docker run \ | ||||
|   --rm \ | ||||
|   --volume ./path/to/docker-compose.yml:/workdir/docker-compose.yml:ro \ | ||||
|   --volume /var/run/docker.sock:/var/run/docker.sock \ | ||||
|   --workdir /workdir \ | ||||
|     git.cryptic.systems/volker.raschek/docker-compose:${IMAGE_VERSION} \ | ||||
|       ps | ||||
| ``` | ||||
|   | ||||
| @@ -1,20 +0,0 @@ | ||||
| image: git.cryptic.systems/volker.raschek/docker-compose:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} | ||||
| {{#if build.tags}} | ||||
| tags: | ||||
| {{#each build.tags}} | ||||
|   - {{this}} | ||||
| {{/each}} | ||||
|   - "latest" | ||||
| {{/if}} | ||||
| manifests: | ||||
|   - | ||||
|     image: git.cryptic.systems/volker.raschek/docker-compose:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64 | ||||
|     platform: | ||||
|       architecture: amd64 | ||||
|       os: linux | ||||
|   - | ||||
|     image: git.cryptic.systems/volker.raschek/docker-compose:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8 | ||||
|     platform: | ||||
|       architecture: arm64 | ||||
|       os: linux | ||||
|       variant: v8 | ||||
| @@ -1,38 +1,36 @@ | ||||
| { | ||||
|   "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||||
|   "assignees": [ "volker.raschek" ], | ||||
|   "labels": [ "renovate" ], | ||||
|   "packageRules": [ | ||||
|   "customManagers": [ | ||||
|     { | ||||
|       "addLabels": [ "renovate/droneci", "renovate/automerge" ], | ||||
|       "automerge": true, | ||||
|       "matchManagers": "droneci", | ||||
|       "matchUpdateTypes": [ "minor", "patch"] | ||||
|     }, | ||||
|     { | ||||
|       "description": "Automatically update patch version of used container images in docker files", | ||||
|       "addLabels": [ "renovate/container-image", "renovate/automerge" ], | ||||
|       "automerge": true, | ||||
|       "matchManagers": [ "dockerfile" ], | ||||
|       "matchUpdateTypes": [ "patch" ] | ||||
|     }, | ||||
|     { | ||||
|       "addLabels": [ "renovate/docker-compose", "renovate/automerge" ], | ||||
|       "automerge": false, | ||||
|       "matchPackageNames": [ "docker-compose" ], | ||||
|       "matchManagers": [ "regex" ] | ||||
|     } | ||||
|   ], | ||||
|   "rebaseLabel": "renovate/rebase", | ||||
|   "rebaseWhen": "behind-base-branch", | ||||
|   "regexManagers": [ | ||||
|     { | ||||
|       "description": "Update version", | ||||
|       "customType": "regex", | ||||
|       "fileMatch": [ | ||||
|         "^Makefile$" | ||||
|         "^README\\.md$" | ||||
|       ], | ||||
|       "matchStrings": [ | ||||
|         "DC_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?" | ||||
|         "IMAGE_VERSION=(?<currentValue>.*)" | ||||
|       ], | ||||
|       "datasourceTemplate": "github-releases", | ||||
|       "depNameTemplate": "docker/compose", | ||||
|       "versioningTemplate": "semver" | ||||
|     } | ||||
|   ], | ||||
|   "extends": [ | ||||
|     "local>volker.raschek/renovate-config:default#master", | ||||
|     "local>volker.raschek/renovate-config:container#master", | ||||
|     "local>volker.raschek/renovate-config:actions#master", | ||||
|     "local>volker.raschek/renovate-config:regexp#master" | ||||
|   ], | ||||
|   "packageRules": [ | ||||
|     { | ||||
|       "addLabels": [ | ||||
|         "renovate/automerge" | ||||
|       ], | ||||
|       "automerge": true, | ||||
|       "matchPackageNames": [ | ||||
|         "docker/compose" | ||||
|       ], | ||||
|       "matchManagers": [ | ||||
|         "regex" | ||||
|       ] | ||||
|     } | ||||
|   ] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user