Skip to content

Commit

Permalink
Fixing check for docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
mahomedalid committed Oct 19, 2023
1 parent 4a874d1 commit 803d8c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ jobs:
tag=${{ github.sha }}
tag="latest"
dockerfile_path="./$dir/Dockerfile"
if [ -f "$dockerfile_path" ]; then
echo "Building Docker image for $dir"
docker buildx build -t ghcr.io/$repo_owner/$image_name:$tag -f "$dockerfile_path" "$dir" -o type=registry
else
echo "Skipping build for $dir - Dockerfile not found"
fi
done
done
env:
BUILDKIT_INLINE_CACHE: 1

0 comments on commit 803d8c5

Please sign in to comment.