mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-20 13:44:17 +00:00
switch to podman for building
This commit is contained in:
parent
4ce7de516d
commit
3905755477
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -18,6 +18,8 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Available platforms
|
- name: Available platforms
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
- name: Install Podman
|
||||||
|
run: sudo apt update && sudo apt install -y podman
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: setup
|
needs: setup
|
||||||
@ -30,8 +32,9 @@ jobs:
|
|||||||
VERSION: ${{ github.run_number }}
|
VERSION: ${{ github.run_number }}
|
||||||
run: |
|
run: |
|
||||||
echo "Start CI build"
|
echo "Start CI build"
|
||||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
#docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
docker buildx create --name multibuilder
|
#docker buildx create --name multibuilder
|
||||||
docker buildx use multibuilder
|
#docker buildx use multibuilder
|
||||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t bbernhard/signal-cli-rest-api:${VERSION}-ci .
|
#docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t bbernhard/signal-cli-rest-api:${VERSION}-ci .
|
||||||
|
podman build --format docker --platform linux/amd64,linux/arm64,linux/arm/v7 -t bbernhard/signal-cli-rest-api:${VERSION}-ci .
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user