You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/25 11:41:28 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #8549: The CRON job now is working and triggers builds on DockerHub

kaxil commented on a change in pull request #8549:
URL: https://github.com/apache/airflow/pull/8549#discussion_r415045343



##########
File path: .github/workflows/ci.yml
##########
@@ -363,3 +368,31 @@ jobs:
         run: ./scripts/ci/ci_prepare_image_on_ci.sh
       - name: "Push CI image ${{ matrix.python-version }}"
         run: ./scripts/ci/ci_push_ci_image.sh
+
+  tag-repo-nightly:
+    timeout-minutes: 60
+    name: "Tag repo nightly"
+    runs-on: ubuntu-latest
+    needs:
+      - tests-sqlite
+      - tests-postgres
+      - tests-mysql
+      - requirements
+      - prepare-backport-packages
+      - build-prod-image
+      - docs
+    if: github.event_name == 'schedule'
+    steps:
+      - uses: actions/checkout@master
+      - name: "Free space"
+        run: ./scripts/ci/ci_free_space_on_ci.sh
+      - name: "Build CI image"
+        run: ./scripts/ci/ci_prepare_image_on_ci.sh
+      - name: "Tag commit"
+        run: |
+          git tag -f nightly-master HEAD
+      - name: Push tags
+        uses: ad-m/github-push-action@master
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+          tags: true

Review comment:
       Does this push to Master directly ??? If so, we shouldn't do that instead create a PR like the Dependency Bot




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org