This commit is contained in:
		@@ -12,11 +12,17 @@
 | 
				
			|||||||
      - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in
 | 
					      - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD registry.yetaga.in
 | 
				
			||||||
      - docker build -t registry.yetaga.in/library:latest .
 | 
					      - docker build -t registry.yetaga.in/library:latest .
 | 
				
			||||||
      - docker push registry.yetaga.in/library:latest
 | 
					      - docker push registry.yetaga.in/library:latest
 | 
				
			||||||
      - "curl http://yetagain:4000/api/ps -H 'Authorization: Bearer ${COMPOSE_TOKEN}' || true"
 | 
					 | 
				
			||||||
      - "curl http://localhost:4000/api/ps -H 'Authorization: Bearer ${COMPOSE_TOKEN}' || true"
 | 
					 | 
				
			||||||
    secrets: [docker_username, docker_password]
 | 
					    secrets: [docker_username, docker_password]
 | 
				
			||||||
    when:
 | 
					    when:
 | 
				
			||||||
      branch: "master"
 | 
					      branch: "master"
 | 
				
			||||||
 | 
					  routing:
 | 
				
			||||||
 | 
					    image: docker
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - "curl http://yetagain:4000/api/ps -H 'Authorization: Bearer ${COMPOSE_TOKEN}' || true"
 | 
				
			||||||
 | 
					      - "curl http://localhost:4000/api/ps -H 'Authorization: Bearer ${COMPOSE_TOKEN}' || true"
 | 
				
			||||||
 | 
					    secrets: [COMPOSE_TOKEN]
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      branch: "test-woodpecker"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
  docker:
 | 
					  docker:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user