This is an automated email from the ASF dual-hosted git repository. janardhan pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push: new e80dbb4 [SYSTEMDS-3268] Publish Docker images on schedule (#1500) e80dbb4 is described below commit e80dbb4298d67620a290780077f98a0300aa0b3b Author: Janardhan Pulivarthi <j...@protonmail.com> AuthorDate: Mon Jan 10 13:20:49 2022 +0530 [SYSTEMDS-3268] Publish Docker images on schedule (#1500) Use [metadata action](https://github.com/docker/metadata-action) to parameterize tags, to accommodate tagged releases. --- .github/workflows/docker-cd.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-cd.yml b/.github/workflows/docker-cd.yml index 9d7891d..ac65bb8 100644 --- a/.github/workflows/docker-cd.yml +++ b/.github/workflows/docker-cd.yml @@ -23,6 +23,8 @@ name: Docker Image CI and CD on: + schedule: + - cron: '30 1 * * *' # everyday at 1:30 PM UTC workflow_dispatch: @@ -34,6 +36,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + + - name: Configure Docker metadata + id: meta + uses: docker/metadata-action@v3 + with: + images: apache/systemds + tags: | + type=schedule,pattern=nightly # https://github.com/docker/setup-buildx-action - name: Set up Docker Buildx @@ -68,5 +78,6 @@ jobs: context: . file: ./docker/sysds.Dockerfile push: true - tags: apache/systemds:nightly + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }}