mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix failing docker build - arm64 (#1541)
* fix docker github build (Segmentation fault (core dumped) dpkg: error processing package libc-bin (--configure))
* fix docker github build (Segmentation fault (core dumped) dpkg: error processing package libc-bin (--configure))
* update gh qemu actions
* run on ubuntu 24.04
* try driver-opts: image=moby/buildkit:v0.11.0
* split docker images for amd64 and arm64
* Revert "split docker images for amd64 and arm64"
This reverts commit 609617f005
.
* clean libc-bin
This commit is contained in:
parent
44e7e091b2
commit
faf58118a4
3 changed files with 27 additions and 6 deletions
17
.github/workflows/docker-ubuntu-branch-image.yml
vendored
17
.github/workflows/docker-ubuntu-branch-image.yml
vendored
|
@ -20,10 +20,12 @@ jobs:
|
|||
submodules: 'recursive'
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@v3.5.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v3.10.0
|
||||
with:
|
||||
driver-opts: image=moby/buildkit:v0.11.0
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
|
@ -32,6 +34,17 @@ jobs:
|
|||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and export to Docker
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
load: true
|
||||
context: ./
|
||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
docker run --rm -e "TEST=1" ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test
|
||||
|
||||
- name: Get tag as branch name
|
||||
id: tag
|
||||
run: |
|
||||
|
|
6
.github/workflows/docker-ubuntu-image.yml
vendored
6
.github/workflows/docker-ubuntu-image.yml
vendored
|
@ -20,10 +20,10 @@ jobs:
|
|||
submodules: 'recursive'
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
uses: docker/setup-qemu-action@v3.5.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v3.10.0
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue