From 598dc03c0c9600093ca497ae5fc554f06c5eba9c Mon Sep 17 00:00:00 2001 From: smiggiddy Date: Fri, 2 May 2025 17:35:18 +0000 Subject: [PATCH] fix ci --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15a3550..84440c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,6 +52,7 @@ jobs: # Check if the latest image exists in the registry IMAGE_EXISTS=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://ghcr.io/v2/${{ github.repository_owner }}/${{ matrix.project }}/manifests/latest") + cd ${{ matrix.project }} if [ "$IMAGE_EXISTS" == "200" ]; then echo "Latest image exists, checking for changes..." @@ -68,7 +69,7 @@ jobs: docker buildx build \ --push \ -t $IMAGE_TAG_LATEST \ - -f ${{ matrix.project }}/devops/Dockerfile \ + -f ./devops/Dockerfile \ --build-arg TARGET_REVISION=$(git rev-parse HEAD) \ --cache-from type=gha \ --cache-to type=gha,mode=max \ @@ -79,7 +80,7 @@ jobs: docker buildx build \ --push \ -t $IMAGE_TAG_LATEST \ - -f ${{ matrix.project }}/devops/Dockerfile \ + -f ./devops/Dockerfile \ --build-arg TARGET_REVISION=$(git rev-parse HEAD) \ --cache-from type=gha \ --cache-to type=gha,mode=max \