Explorar o código

Merge pull request #5 from langgenius/feat/0.2.2

feat 0.2.2
Yeuoly hai 1 ano
pai
achega
aa702044a5
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 2 2
      .github/workflows/build-universal.yml
  2. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build-universal.yml

@@ -54,14 +54,14 @@ jobs:
 
       - name: Build Universal Docker Images
         run:
-          for tag in $(echo ${{ steps.meta.outputs.tags }} | tr ',' '\n');
+          for tag in $(echo "${{ steps.meta.outputs.tags }}" | tr ',' '\n');
           do
             docker manifest create $tag $tag-amd64 $tag-arm64;
           done
 
       - name: Push Universal Docker Image
         run: 
-          for tag in $(echo ${{ steps.meta.outputs.tags }} | tr ',' '\n');
+          for tag in $(echo "${{ steps.meta.outputs.tags }}" | tr ',' '\n');
           do
             docker manifest push $tag;
           done

+ 2 - 2
.github/workflows/build.yml

@@ -63,13 +63,13 @@ jobs:
 
       - name: Tag Docker Images
         run: 
-          for tag in $(echo ${{ steps.meta.outputs.tags }} | tr ',' '\n');
+          for tag in $(echo "${{ steps.meta.outputs.tags }}" | tr ',' '\n');
           do
             docker tag dify-sandbox "$tag-${{ inputs.arch }}";
           done
       - name: Push Docker Image
         run:
-          for tag in $(echo ${{ steps.meta.outputs.tags }} | tr ',' '\n');
+          for tag in $(echo "${{ steps.meta.outputs.tags }}" | tr ',' '\n');
           do
             docker push $tag-${{ inputs.arch }};
           done