Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
* Update to Ubuntu 24.04.
* Update linuxkit/binfmt to latest.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Jan 4, 2025
1 parent 79e9858 commit 2a5c2d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2.1
executors:
vm:
machine:
image: ubuntu-2204:current
image: ubuntu-2404:current

jobs:
build:
Expand All @@ -15,7 +15,7 @@ jobs:
- run: docker info
- run: uname -a
# Register binfmt_misc targets for cross-building
- run: docker run --privileged linuxkit/binfmt:af88a591f9cc896a52ce596b9cf7ca26a061ef97
- run: docker run --privileged linuxkit/binfmt:68604c81876812ca1c9e2d9f098c28f463713e61
- run: make
- run: docker images

Expand All @@ -25,7 +25,7 @@ jobs:
steps:
- checkout
- run: docker info
- run: docker run --privileged linuxkit/binfmt:af88a591f9cc896a52ce596b9cf7ca26a061ef97
- run: docker run --privileged linuxkit/binfmt:68604c81876812ca1c9e2d9f098c28f463713e61
- run: make SUFFIX=
- run: docker images
- run: make tag SUFFIX=
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ set -e
source vars.sh

for version in "${versions[@]}"; do
docker build --build-arg ARCH="${ARCH}" --build-arg TAG="${TAG}" --pull -t "${IMAGE_NAME}:${version}${SUFFIX}" "${version}"
docker build --platform="linux/${ARCH}" --build-arg ARCH="${ARCH}" --build-arg TAG="${TAG}" --pull -t "${IMAGE_NAME}:${version}${SUFFIX}" "${version}"
done

0 comments on commit 2a5c2d5

Please sign in to comment.