|
@@ -33,6 +33,35 @@ jobs:
|
|
|
platforms: linux/amd64
|
|
|
push: true
|
|
|
tags: ghcr.io/${{ github.repository }}:testing
|
|
|
+ build-args: version=testing
|
|
|
+ docker-netclient:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Checkout
|
|
|
+ uses: actions/checkout@v2
|
|
|
+ - name: Setup Go
|
|
|
+ uses: actions/setup-go@v2
|
|
|
+ with:
|
|
|
+ go-version: 1.17
|
|
|
+ - name: Set up QEMU
|
|
|
+ uses: docker/setup-qemu-action@v1
|
|
|
+ - name: Set up Docker Buildx
|
|
|
+ uses: docker/setup-buildx-action@v1
|
|
|
+ - name: Login to DockerHub
|
|
|
+ uses: docker/login-action@v1
|
|
|
+ with:
|
|
|
+ registry: ghcr.io
|
|
|
+ username: ${{ github.actor }}
|
|
|
+ password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ - name: Build and Push test
|
|
|
+ uses: docker/build-push-action@v2
|
|
|
+ with:
|
|
|
+ context: .
|
|
|
+ platforms: linux/amd64, linux/arm64
|
|
|
+ file: ./docker/Dockerfile-netclient-multiarch
|
|
|
+ push: true
|
|
|
+ tags: ghcr.io/gravitl/netclient:testing
|
|
|
+ build-args: version=testing
|
|
|
netclient:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|