Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,18 @@ jobs:
df -h
- name: Docker Build
run: |
docker build .
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
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