Fix skopeo copy syntax
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -102,22 +102,21 @@ | ||||
|           k3s ctr run \ | ||||
|             --rm \ | ||||
|             --mount type=bind,src=$PWD,dst=/data,options=rbind:ro \ | ||||
|             quay.io/skopeo/stable:v1.8.0 \ | ||||
|             skopeo-{{ lookup('community.general.random_string', length=5) }} \ | ||||
|             skopeo list-tags /data/{{ item }} | \ | ||||
|             quay.io/skopeo/stable:v1.8.0 skopeo \ | ||||
|             skopeo list-tags docker-archive:/data/{{ item }} | \ | ||||
|           jq -r '.Tags[0]') | ||||
|     chdir: /opt/metacluster/container-images/ | ||||
|   register: results | ||||
|   ignore_errors: yes | ||||
| #  ignore_errors: yes | ||||
|   loop: "{{ imagetarballs.files }}" | ||||
|  | ||||
| - ansible.builtin.debug: | ||||
|     var: results | ||||
|  | ||||
| #- name: Delete container image tarballs/archives | ||||
| #  ansible.builtin.file: | ||||
| #    path: /opt/metacluster/container-images | ||||
| #    state: absent | ||||
| - name: Delete container image tarballs/archives | ||||
|   ansible.builtin.file: | ||||
|     path: /opt/metacluster/container-images | ||||
|     state: absent | ||||
|  | ||||
| - name: Cleanup tempfile | ||||
|   ansible.builtin.file: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user