|
@@ -56,7 +56,7 @@ jobs:
|
|
|
sleep 10
|
|
|
kill %1
|
|
|
-
|
|
|
- name: Build arm and export to Docker
|
|
|
+ name: Build arm64 and export to Docker
|
|
|
uses: docker/build-push-action@v2
|
|
|
with:
|
|
|
context: .
|
|
@@ -66,7 +66,23 @@ jobs:
|
|
|
tags: ${{ env.TAG }}
|
|
|
build-args: version=${{ env.TAG }}
|
|
|
-
|
|
|
- name: Test arm
|
|
|
+ name: Test arm64
|
|
|
+ run: |
|
|
|
+ docker run --rm ${{ env.TAG }}&
|
|
|
+ sleep 10
|
|
|
+ kill %1
|
|
|
+ -
|
|
|
+ name: Build armv7l and export to Docker
|
|
|
+ uses: docker/build-push-action@v2
|
|
|
+ with:
|
|
|
+ context: .
|
|
|
+ load: true
|
|
|
+ platforms: linux/armv7l
|
|
|
+ file: ./docker/Dockerfile-netclient-multiarch
|
|
|
+ tags: ${{ env.TAG }}
|
|
|
+ build-args: version=${{ env.TAG }}
|
|
|
+ -
|
|
|
+ name: Test armv7l
|
|
|
run: |
|
|
|
docker run --rm ${{ env.TAG }}&
|
|
|
sleep 10
|
|
@@ -76,7 +92,7 @@ jobs:
|
|
|
uses: docker/build-push-action@v2
|
|
|
with:
|
|
|
context: .
|
|
|
- platforms: linux/amd64, linux/arm64
|
|
|
+ platforms: linux/amd64, linux/arm64, linux/armv7l
|
|
|
file: ./docker/Dockerfile-netclient-multiarch
|
|
|
push: true
|
|
|
tags: gravitl/netclient:${{ env.TAG }}, gravitl/netclient:latest
|