mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 15:28:21 +00:00
fix build.yml (x5)
This commit is contained in:
parent
9a2e14ad21
commit
77545c3b74
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -33,16 +33,10 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and Push Native Image
|
- name: Build and Push Native Image (multi-platform)
|
||||||
run: |
|
run: |
|
||||||
pack build dalbodeule/chzzkbot:latest \
|
pack build --builder paketobuildpacks/builder-jammy-full: \
|
||||||
--builder paketobuildpacks/builder:tiny \
|
--push true \
|
||||||
--tag dalbodeule/chzzkbot:${{ env.DATETIME }}
|
|
||||||
|
|
||||||
- name: Create multi-platform image
|
|
||||||
run: |
|
|
||||||
docker buildx create --use
|
|
||||||
docker buildx build --platform linux/amd64,linux/arm64 \
|
|
||||||
--tag dalbodeule/chzzkbot:${{ env.DATETIME }} \
|
|
||||||
--tag dalbodeule/chzzkbot:latest \
|
--tag dalbodeule/chzzkbot:latest \
|
||||||
--push .
|
--tag dalbodeule/chzzkbot:${{ env.DATETIME }} \
|
||||||
|
--platforms linux/amd64,linux/arm64 .
|
Loading…
x
Reference in New Issue
Block a user