Skip to content

Commit

Permalink
feat 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Jun 19, 2024
1 parent 040ed61 commit f0e03cd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,11 @@ jobs:

- name: Tag Docker Images
run:
tags=$(echo ${{ steps.meta.outputs.tags }} | tr ',' '\n')
IFS=$'\n' read -r -d '' -a tags_array <<< "$tags"
for tag in "${tags_array[@]}"; do
docker tag dify-sandbox "$tag-amd64"
for tag in $(echo ${{ steps.meta.outputs.tags }} | tr ',' '\n'); do
docker tag dify-sandbox "$tag-${{ inputs.arch }}"
done
- name: Push Docker Image
run:
tags=$(echo ${{ steps.meta.outputs.tags }} | tr ',' '\n')
for tag in $tags; do
for tag in $(echo ${{ steps.meta.outputs.tags }} | tr ',' '\n'); do
docker push $tag-${{ inputs.arch }}
done

0 comments on commit f0e03cd

Please sign in to comment.