mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-08 04:46:45 +08:00
add netclient docker
This commit is contained in:
parent
34145288e5
commit
912cd39df0
1 changed files with 28 additions and 0 deletions
28
.github/workflows/test-artifacts.yml
vendored
28
.github/workflows/test-artifacts.yml
vendored
|
@ -33,6 +33,34 @@ jobs:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{ github.repository }}:testing
|
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
|
||||||
|
push: true
|
||||||
|
tags: ghcr.io/gravitl/netclient:testing
|
||||||
|
build-args: version=testing
|
||||||
netclient:
|
netclient:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Reference in a new issue