Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (22 sloc) 729 Bytes
pipeline:
build:
image: astronomerio/ap-build:0.0.7
commands:
- docker build -t registry.astronomer.cloud/infrared-photon-7780/airflow:ci-${DRONE_BUILD_NUMBER} .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: push
branch: [ master, release-* ]
push:
image: astronomerio/ap-build:0.0.7
commands:
- echo $${ASTRO_API_KEY}
- docker login registry.astronomer.cloud -u _ -p $${ASTRO_API_KEY}
- docker push registry.astronomer.cloud/infrared-photon-7780/airflow:ci-${DRONE_BUILD_NUMBER}
secrets: [ astro_api_key ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: push
branch: [ master, release-* ]