From 9d8853d49aa007dc82bb7107e9adde5b4722cbcd Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Tue, 18 May 2021 12:09:10 +0530 Subject: [PATCH] ci: add missing tag in master push images tags are missing in master pushed images to shallow problem. this commit add command to unshallow. Signed-off-by: subhamkrai --- .github/workflows/push-build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/push-build.yaml b/.github/workflows/push-build.yaml index d5bae6bfe..62baa11c8 100644 --- a/.github/workflows/push-build.yaml +++ b/.github/workflows/push-build.yaml @@ -30,6 +30,9 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_PSW }} aws-region: us-east-1 + - name: unshallow + run: git fetch --prune --unshallow --tags + # creating custom env var - name: set env run: echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV