Build Airflow (attempt #1) #117
Workflow file for this run
This file contains hidden or 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: Build Airflow | |
| run-name: | | |
| Build Airflow (attempt #${{ github.run_attempt }}) | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 1/2 * *' # https://crontab.guru/#0_0_1/2_*_* | |
| push: | |
| branches: [main] | |
| tags: ['*'] | |
| paths: | |
| # To check dependencies, run this ( you will need to consider transitive dependencies) | |
| # bake --product PRODUCT -d | grep -v 'docker buildx bake' | jq '.target | keys[]' | |
| - airflow/** | |
| - vector/** | |
| - stackable-base/** | |
| - .github/actions/** | |
| - .github/workflows/build_airflow.yaml | |
| - .github/workflows/reusable_build_image.yaml | |
| jobs: | |
| build_image: | |
| name: Build image using reusable workflow | |
| uses: ./.github/workflows/reusable_build_image.yaml | |
| secrets: | |
| harbor-robot-secret: ${{ secrets.HARBOR_ROBOT_SDP_GITHUB_ACTION_BUILD_SECRET }} | |
| slack-token: ${{ secrets.SLACK_CONTAINER_IMAGE_TOKEN }} | |
| with: | |
| product-name: airflow | |
| sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }} |