Release Airflow Images #328
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Airflow Images | |
on: | |
schedule: # triggers every midnight | |
- cron: '0 0 * * *' | |
push: | |
branches: | |
- master | |
tags: | |
- "*" # triggers on a push event | |
jobs: | |
containers: | |
name: Build and Push Airflow images | |
runs-on: ubuntu-latest | |
env: | |
QUAY_ACCOUNT: quay.io/cloud-bulldozer | |
steps: | |
- name: Install podman | |
run: sudo apt-get install podman -y | |
- name: Install podman-compose | |
run: pip install podman-compose | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Login in quay | |
run: podman login quay.io -u ${QUAY_USER} -p ${QUAY_TOKEN} | |
env: | |
QUAY_USER: ${{ secrets.QUAY_USER }} | |
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }} | |
- name: Build Airflow Images | |
run: make build | |
- name: Push Airflow Images | |
run: make push |