Skip to content

Commit 61818ab

Browse files
committed
try save
1 parent 25b79bb commit 61818ab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ jobs:
4242
git tag --list --format='%(contents)' "$TAG_NAME" > RELEASE-NOTES
4343
4444
for cur_arch in $ARCH; do
45-
docker buildx build . \
46-
--platform "linux/$cur_arch" \
47-
--output "type=docker,dest=${{ github.repository_name }}-$TAG_NAME-$cur_arch.tar"
45+
docker build . --platform linux/$cur_arch -t ${{ github.repository_name }}
46+
docker save ${{ github.repository_name }} -o "${{ github.repository_name }}-$TAG_NAME-$cur_arch.tar"
47+
# docker buildx build . \
48+
# --platform "linux/$cur_arch" \
49+
# --output "type=docker,dest=${{ github.repository_name }}-$TAG_NAME-$cur_arch.tar"
4850
done
4951

5052
- name: Create Release

0 commit comments

Comments
 (0)