From 6b9af8c2e19fb0e43c78dc7fe40207e2c42cd2b3 Mon Sep 17 00:00:00 2001 From: "Mahadik, Mukul Chandrakant" Date: Tue, 20 Aug 2024 11:15:38 -0700 Subject: [PATCH 1/2] Added upload artifact step to support internal PR --- .github/workflows/image_build_push.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/image_build_push.yml b/.github/workflows/image_build_push.yml index 820e8ac..079b94e 100644 --- a/.github/workflows/image_build_push.yml +++ b/.github/workflows/image_build_push.yml @@ -36,3 +36,15 @@ jobs: - name: push docker image run: | docker push $DOCKER_USER/${GITHUB_REPOSITORY#*/}:${GITHUB_REF##*/}_${{ steps.date.outputs.date }} + + - name: Create artifact text file + run: | + echo ${{ steps.date.outputs.date }} > join_page_tag_file.txt + echo "Created tag text file" + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: join-page-image-tag + path: join_page_tag_file.txt + overwrite: true \ No newline at end of file From 3af9f5e9d47d87a6983494714deb5fd534a38073 Mon Sep 17 00:00:00 2001 From: "Mahadik, Mukul Chandrakant" Date: Tue, 20 Aug 2024 11:26:22 -0700 Subject: [PATCH 2/2] Added linebreak --- .github/workflows/image_build_push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/image_build_push.yml b/.github/workflows/image_build_push.yml index 079b94e..f7d6b60 100644 --- a/.github/workflows/image_build_push.yml +++ b/.github/workflows/image_build_push.yml @@ -47,4 +47,4 @@ jobs: with: name: join-page-image-tag path: join_page_tag_file.txt - overwrite: true \ No newline at end of file + overwrite: true