From 2c8d4de35b19c9481a45aecc79ed39bd422942f2 Mon Sep 17 00:00:00 2001 From: "Mahadik, Mukul Chandrakant" Date: Sat, 21 Sep 2024 00:25:30 -0700 Subject: [PATCH] Removing branch prefix for artifact tag Internal script not changed immediately hence keeping artifact part same as current. Also once internal script logic implemented to handle reading tags from .env files directly, will no longer need artifacts. --- .github/workflows/image_build_push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image_build_push.yml b/.github/workflows/image_build_push.yml index 99b43a6..5bd4c7a 100644 --- a/.github/workflows/image_build_push.yml +++ b/.github/workflows/image_build_push.yml @@ -95,11 +95,11 @@ jobs: - name: Create artifact text files run: | if [ "${{ github.event_name }}" == "push" ]; then - echo ${GITHUB_REF##*/}_${{ steps.date.outputs.date }} > frontend_tag_file.txt + echo ${{ steps.date.outputs.date }} > frontend_tag_file.txt else echo ${{ steps.set-tags.outputs.PUBLIC_DASH_FRONTEND_IMAGE_TAG }} > frontend_tag_file.txt fi - echo ${GITHUB_REF##*/}_${{ steps.date.outputs.date }} > notebook_tag_file.txt + echo ${{ steps.date.outputs.date }} > notebook_tag_file.txt echo "Created tag text files" - name: Upload Frontend Tag Artifact