Skip to content

Commit

Permalink
Add arm64 support
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Warnicke <[email protected]>
  • Loading branch information
edwarnicke committed Dec 7, 2022
1 parent 306afd0 commit 9765523
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,17 @@ jobs:
df -h
- name: Docker Build
run: |
docker build .
docker buildx create --use --bootstrap
echo "docker buildx inspect --bootstrap"
docker buildx inspect --bootstrap
echo "docker buildx build --platform linux/amd64,linux/arm64 ."
docker buildx build --platform linux/amd64,linux/arm64 .
VPP_VERSION=$(docker run $(docker build -q . --target version))
echo "VPP_VERSION=${VPP_VERSION}" >> $GITHUB_ENV
TAG=v${VPP_VERSION/\~/-}
echo "TAG=${TAG}" >> $GITHUB_ENV
docker build -t ghcr.io/${{github.repository}}/vpp:${TAG} . --target vpp
docker build -t ghcr.io/${{github.repository}}/vpp-dbg:${TAG} . --target vpp-dbg
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/${{github.repository}}/vpp:${TAG} . --target vpp
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/${{github.repository}}/vpp-dbg:${TAG} . --target vpp-dbg
- name: Generate files
run: go generate ./...
- name: Check for changes in generated code
Expand Down

0 comments on commit 9765523

Please sign in to comment.