try ssh clone
This commit is contained in:
		
							
								
								
									
										85
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										85
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -1,46 +1,49 @@ | |||||||
|  |  | ||||||
| --- | --- | ||||||
| kind: pipeline | kind: template | ||||||
| type: kubernetes | load: multiarch-container.yaml | ||||||
| name: build-linux-amd64 | data: | ||||||
| trigger: |   repo: images/rotate-backups | ||||||
|   event: |   source: | ||||||
|   - push |     # repo: https://gitea.jbrumond.me/images/rotate-backups | ||||||
|   branch: |     repo: git@git.jbrumond.me:images/rotate-backups.git | ||||||
|   - master |     ref: master | ||||||
| platform: |   build_args: | ||||||
|   os: linux |   - PYTHON_VERSION=3 | ||||||
|  |   - ALPINE_VERSION=3.18 | ||||||
|  |   - ROTATE_BACKUPS_VERSION=8.1 | ||||||
|  |   tags: | ||||||
|  |   - "8.1" | ||||||
|  |   - "8" | ||||||
|  |   platforms: | ||||||
|  |   - os: linux | ||||||
|  |     arch: arm64 | ||||||
|  |   - os: linux | ||||||
|     arch: amd64 |     arch: amd64 | ||||||
| node_selector: |  | ||||||
|   kubernetes.io/os: linux |  | ||||||
|   kubernetes.io/arch: amd64 |  | ||||||
| clone: |  | ||||||
|   disable: true |  | ||||||
| steps: |  | ||||||
| - name: debug |  | ||||||
|   image: alpine/git |  | ||||||
|   commands: |  | ||||||
|   - env |  | ||||||
|   # - git clone https://gitea.jbrumond.me/images/rotate-backups . |  | ||||||
|   # - git checkout master |  | ||||||
|  |  | ||||||
| # --- | # --- | ||||||
| # kind: template | # kind: pipeline | ||||||
| # load: multiarch-container.yaml | # type: kubernetes | ||||||
| # data: | # name: build-linux-amd64 | ||||||
| #   repo: images/rotate-backups | # trigger: | ||||||
| #   source: | #   event: | ||||||
| #     repo: https://gitea.jbrumond.me/images/rotate-backups | #   - push | ||||||
| #     ref: master | #   branch: | ||||||
| #   build_args: | #   - master | ||||||
| #   - PYTHON_VERSION=3 | # platform: | ||||||
| #   - ALPINE_VERSION=3.18 | #   os: linux | ||||||
| #   - ROTATE_BACKUPS_VERSION=8.1 |  | ||||||
| #   tags: |  | ||||||
| #   - "8.1" |  | ||||||
| #   - "8" |  | ||||||
| #   platforms: |  | ||||||
| #   - os: linux |  | ||||||
| #     arch: arm64 |  | ||||||
| #   - os: linux |  | ||||||
| #   arch: amd64 | #   arch: amd64 | ||||||
|  | # node_selector: | ||||||
|  | #   kubernetes.io/os: linux | ||||||
|  | #   kubernetes.io/arch: amd64 | ||||||
|  | # clone: | ||||||
|  | #   disable: true | ||||||
|  | # steps: | ||||||
|  | # - name: debug | ||||||
|  | #   image: alpine/git | ||||||
|  | #   commands: | ||||||
|  | #   - env | ||||||
|  | #   - git config credential.helper | ||||||
|  | #   # - git clone https://gitea.jbrumond.me/images/rotate-backups . | ||||||
|  | #   # - git checkout master | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user