Skip to content

Commit

Permalink
123
Browse files Browse the repository at this point in the history
  • Loading branch information
yx_xuliang committed Oct 14, 2024
1 parent 1bc050a commit 569e080
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ jobs:
uses: docker/build-push-action@v3
with:
context: ./
file: Dockerfile-linux-armv7
file: Dockerfile-linux-arm
push: true
platforms: linux/arm64/armv7
platforms: linux/arm64/arm
tags: ${{ steps.docker_arm_tags.outputs.tags }}

- name: Prepare Arm Docker Tags
id: docker_arm_tags
run: |
if [[ "${{ env.TAG }}" == *Beta* ]]; then
echo "::set-output name=tags::pilgrima/ffandown:arm64-${{ env.TAG }}"
echo "::set-output name=tags::pilgrima/ffandown:arm-${{ env.TAG }}"
else
echo "::set-output name=tags::pilgrima/ffandown:arm64,pilgrima/ffandown:arm64-${{ env.TAG }}"
echo "::set-output name=tags::pilgrima/ffandown:arm,pilgrima/ffandown:arm-${{ env.TAG }}"
fi
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@
"node_modules/sqlite3/lib/binding/**/*"
],
"targets": [
"node18-linux-armv7"
"node16-windows-x64",
"node16-linux-x64",
"node16-linux-arm64",
"node16-alpine-x64",
"node16-alpine-arm64",
"node16-linux-arm"
],
"outputPath": "dist"
},
Expand Down

0 comments on commit 569e080

Please sign in to comment.