From 4c41b6da1a5521e3b34d3f881735a215a67eae63 Mon Sep 17 00:00:00 2001 From: Shivam Gutgutia <100862487+shivamgutgutia@users.noreply.github.com> Date: Fri, 1 Dec 2023 14:54:03 +0530 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1f94ad2..9b26db0 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,9 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build the Docker image - run: | - IMAGE_TAG=$(git rev-parse --short HEAD) # Get the short commit SHA - docker build . --file Dockerfile --tag shivamgutgutia/vcfgenerator:$IMAGE_TAG + run: docker build . --file Dockerfile --tag shivamgutgutia/vcfgenerator - name: Push Docker image to Docker Hub - run: docker push shivamgutgutia/vcfgenerator:$IMAGE_TAG + run: docker push shivamgutgutia/vcfgenerator