From 99e8df10485fe6e5c57ea912a1d3880699fb8192 Mon Sep 17 00:00:00 2001 From: Basma1912 Date: Thu, 12 Dec 2024 16:31:34 -0500 Subject: [PATCH] remove src Signed-off-by: Basma1912 --- .github/workflows/build-and-push.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index d3957668..af061fbd 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -40,15 +40,14 @@ jobs: name: checkout-basket-repo uses: actions/checkout@v4 with: - path: src fetch-depth: 10 # get enough so we have a Git history, but not everything fetch-tags: true ref: ${{ env.REF_ID }} - id: sha run: |- - cd src && echo "LONG_SHA=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT - cd src && echo "SHORT_SHA=$(git rev-parse --short=8 HEAD)" >> $GITHUB_OUTPUT + echo "LONG_SHA=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT + echo "SHORT_SHA=$(git rev-parse --short=8 HEAD)" >> $GITHUB_OUTPUT - id: docker-login name: Docker login @@ -60,7 +59,6 @@ jobs: - id: build_and_push_docker_hub_images name: Build and push public images to Docker hub run: |- - cd src touch .env GIT_COMMIT= docker compose pull db redis web builder bin/dc.sh build --no-cache --pull web