try clone with public repo
This commit is contained in:
		
							
								
								
									
										84
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										84
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -1,49 +1,49 @@ | ||||
| --- | ||||
| kind: pipeline | ||||
| type: kubernetes | ||||
| name: build-linux-amd64 | ||||
| trigger: | ||||
|   event: | ||||
|   - push | ||||
|   branch: | ||||
|   - master | ||||
| platform: | ||||
|   os: linux | ||||
| kind: template | ||||
| load: multiarch-container.yaml | ||||
| data: | ||||
|   repo: images/rotate-backups | ||||
|   source: | ||||
|     # repo: https://gitea.jbrumond.me/images/rotate-backups | ||||
|     repo: git@git.jbrumond.me:images/rotate-backups.git | ||||
|     ref: master | ||||
|   build_args: | ||||
|   - 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 | ||||
| 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 | ||||
|  | ||||
|  | ||||
| # --- | ||||
| # kind: template | ||||
| # load: multiarch-container.yaml | ||||
| # data: | ||||
| #   repo: images/rotate-backups | ||||
| #   source: | ||||
| #     # repo: https://gitea.jbrumond.me/images/rotate-backups | ||||
| #     repo: git@git.jbrumond.me:images/rotate-backups.git | ||||
| #     ref: master | ||||
| #   build_args: | ||||
| #   - PYTHON_VERSION=3 | ||||
| #   - ALPINE_VERSION=3.18 | ||||
| #   - ROTATE_BACKUPS_VERSION=8.1 | ||||
| #   tags: | ||||
| #   - "8.1" | ||||
| #   - "8" | ||||
| #   platforms: | ||||
| #   - os: linux | ||||
| #     arch: arm64 | ||||
| #   - os: linux | ||||
| # kind: pipeline | ||||
| # type: kubernetes | ||||
| # name: build-linux-amd64 | ||||
| # trigger: | ||||
| #   event: | ||||
| #   - push | ||||
| #   branch: | ||||
| #   - master | ||||
| # platform: | ||||
| #   os: linux | ||||
| #   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