mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
add bc image for amd
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -128,6 +128,12 @@ jobs:
|
|||||||
phishingclub \
|
phishingclub \
|
||||||
phishingclub.sig
|
phishingclub.sig
|
||||||
|
|
||||||
|
# create legacy-named package (amd64) for backward compatibility with pre-arm versions
|
||||||
|
tar -czf packages/phishingclub_${{ steps.get_version.outputs.VERSION }}.tar.gz \
|
||||||
|
-C build/amd64 \
|
||||||
|
phishingclub \
|
||||||
|
phishingclub.sig
|
||||||
|
|
||||||
- name: Build and push multi-arch Docker image
|
- name: Build and push multi-arch Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
@@ -186,6 +192,7 @@ jobs:
|
|||||||
gh release create ${{ steps.get_version.outputs.TAG }} \
|
gh release create ${{ steps.get_version.outputs.TAG }} \
|
||||||
./packages/phishingclub_${{ steps.get_version.outputs.VERSION }}_linux_amd64.tar.gz \
|
./packages/phishingclub_${{ steps.get_version.outputs.VERSION }}_linux_amd64.tar.gz \
|
||||||
./packages/phishingclub_${{ steps.get_version.outputs.VERSION }}_linux_arm64.tar.gz \
|
./packages/phishingclub_${{ steps.get_version.outputs.VERSION }}_linux_arm64.tar.gz \
|
||||||
|
./packages/phishingclub_${{ steps.get_version.outputs.VERSION }}.tar.gz \
|
||||||
--title "PhishingClub ${{ steps.get_version.outputs.TAG }}" \
|
--title "PhishingClub ${{ steps.get_version.outputs.TAG }}" \
|
||||||
--notes "${{ steps.get_release_notes.outputs.NOTES }}"
|
--notes "${{ steps.get_release_notes.outputs.NOTES }}"
|
||||||
|
|
||||||
|
|||||||
15
.github/workflows/test-build.yml
vendored
15
.github/workflows/test-build.yml
vendored
@@ -150,6 +150,20 @@ jobs:
|
|||||||
echo "✅ ARM64 package created without signature"
|
echo "✅ ARM64 package created without signature"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# create legacy-named package (amd64) for backward compatibility with pre-arm versions
|
||||||
|
if [ -f build/amd64/phishingclub.sig ]; then
|
||||||
|
tar -czf packages/phishingclub_${{ steps.get_version.outputs.VERSION }}.tar.gz \
|
||||||
|
-C build/amd64 \
|
||||||
|
phishingclub \
|
||||||
|
phishingclub.sig
|
||||||
|
echo "✅ Legacy package created with signature"
|
||||||
|
else
|
||||||
|
tar -czf packages/phishingclub_${{ steps.get_version.outputs.VERSION }}.tar.gz \
|
||||||
|
-C build/amd64 \
|
||||||
|
phishingclub
|
||||||
|
echo "✅ Legacy package created without signature"
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Build and push test multi-arch Docker image
|
- name: Build and push test multi-arch Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
@@ -210,4 +224,5 @@ jobs:
|
|||||||
build/arm64/phishingclub.sig
|
build/arm64/phishingclub.sig
|
||||||
packages/phishingclub_${{ steps.get_version.outputs.VERSION }}_linux_amd64.tar.gz
|
packages/phishingclub_${{ steps.get_version.outputs.VERSION }}_linux_amd64.tar.gz
|
||||||
packages/phishingclub_${{ steps.get_version.outputs.VERSION }}_linux_arm64.tar.gz
|
packages/phishingclub_${{ steps.get_version.outputs.VERSION }}_linux_arm64.tar.gz
|
||||||
|
packages/phishingclub_${{ steps.get_version.outputs.VERSION }}.tar.gz
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user