You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ja...@apache.org on 2022/07/05 17:41:31 UTC

[systemds] branch main updated: [MINOR][SYSTEMDS-3401] Update parameters for image tag

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 147291c6a9 [MINOR][SYSTEMDS-3401] Update parameters for image tag
147291c6a9 is described below

commit 147291c6a98348e244422791bcc4ec90f0d8bc6e
Author: Janardhan Pulivarthi <j1...@protonmail.com>
AuthorDate: Tue Jul 5 23:11:26 2022 +0530

    [MINOR][SYSTEMDS-3401] Update parameters for image tag
---
 .github/workflows/docker-release.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml
index bd9d1c351f..7495f7230e 100644
--- a/.github/workflows/docker-release.yml
+++ b/.github/workflows/docker-release.yml
@@ -31,7 +31,7 @@ on:
       version:
         description: 'Version tag for the docker'
         required: true
-        default: 'latest'
+        default: 'nightly'
   
 jobs:
   build-release:
@@ -41,8 +41,7 @@ jobs:
     steps:
     - name: Checkout
       uses: actions/checkout@v3
-      with:
-        ref: ${{ github.event.inputs.branch_or_tag }}
+    - run: git checkout ${{ github.event.inputs.branch_or_tag }}
 
     # https://github.com/docker/metadata-action
     - name: Configure Docker metadata
@@ -50,7 +49,7 @@ jobs:
       uses: docker/metadata-action@v4
       with:
         images: apache/systemds
-        tags: ${{ github.event.inputs.version }}
+        tags: ${{ github.event.inputs.version }},latest
 
     # https://github.com/docker/setup-buildx-action
     - name: Set up Docker Buildx
@@ -73,6 +72,6 @@ jobs:
         context: .
         file: ./docker/sysds.Dockerfile
         push: false
-        tags: ${{ github.event.inputs.branch_or_tag }},latest
+        tags: ${{ steps.meta.outputs.tags }}
 #       Use the below labels entry for images for cpu, gpu for the same release
 #       labels: ${{ steps.meta.outputs.labels }}