mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-28 01:52:58 +08:00
Merge pull request #844 from gravitl/testing
Update artifacts for deployment testing
This commit is contained in:
commit
c1759db375
1 changed files with 29 additions and 0 deletions
29
.github/workflows/test-artifacts.yml
vendored
29
.github/workflows/test-artifacts.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue