File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,17 @@ jobs:
121
121
df -h
122
122
- name : Docker Build
123
123
run : |
124
- docker build .
124
+ docker buildx create --use
125
+ echo "docker buildx inspect --bootstrap"
126
+ docker buildx inspect --bootstrap
127
+ echo "docker buildx build --platform linux/amd64,linux/arm64 ."
128
+ docker buildx build --platform linux/amd64,linux/arm64 .
125
129
VPP_VERSION=$(docker run $(docker build -q . --target version))
126
130
echo "VPP_VERSION=${VPP_VERSION}" >> $GITHUB_ENV
127
131
TAG=v${VPP_VERSION/\~/-}
128
132
echo "TAG=${TAG}" >> $GITHUB_ENV
129
- docker build -t ghcr.io/${{github.repository}}/vpp:${TAG} . --target vpp
130
- docker build -t ghcr.io/${{github.repository}}/vpp-dbg:${TAG} . --target vpp-dbg
133
+ docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/${{github.repository}}/vpp:${TAG} . --target vpp
134
+ docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/${{github.repository}}/vpp-dbg:${TAG} . --target vpp-dbg
131
135
- name : Generate files
132
136
run : go generate ./...
133
137
- name : Check for changes in generated code
You can’t perform that action at this time.
0 commit comments