mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 11:56:39 +08:00
update github actions version missed in earlier PR
This commit is contained in:
parent
eb2e9958b7
commit
a9cc5ab2ac
4 changed files with 9 additions and 9 deletions
2
.github/workflows/docker-builder.yml
vendored
2
.github/workflows/docker-builder.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Build and push to docker hub
|
- name: Build and push to docker hub
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|
6
.github/workflows/publish-docker.yml
vendored
6
.github/workflows/publish-docker.yml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
||||||
name: Set tag
|
name: Set tag
|
||||||
run: |
|
run: |
|
||||||
if [[ -n "${{ github.event.inputs.tag }}" ]]; then
|
if [[ -n "${{ github.event.inputs.tag }}" ]]; then
|
||||||
TAG=${{ github.event.inputs.tag }}
|
docker/build-push-action@v3.tag }}
|
||||||
elif [[ "${{ github.ref_name }}" == 'master' ]]; then
|
elif [[ "${{ github.ref_name }}" == 'master' ]]; then
|
||||||
TAG="latest"
|
TAG="latest"
|
||||||
else
|
else
|
||||||
|
@ -71,7 +71,7 @@ jobs:
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/build-push-action@v3v2
|
||||||
-
|
-
|
||||||
name: Login to DockerHub
|
name: Login to DockerHub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
@ -86,4 +86,4 @@ jobs:
|
||||||
platforms: linux/amd64, linux/arm64, linux/arm/v7
|
platforms: linux/amd64, linux/arm64, linux/arm/v7
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ github.repository }}:${{ env.TAG }}-ee
|
tags: ${{ github.repository }}:${{ env.TAG }}-ee
|
||||||
build-args: version=${{ env.TAG }}, tags="-tags=ee"
|
buildocker/build-push-action@v3 }}, tags="-tags=ee"
|
||||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Build x86 and export to Docker
|
name: Build x86 and export to Docker
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
load: true
|
load: true
|
||||||
|
@ -57,7 +57,7 @@ jobs:
|
||||||
kill %1
|
kill %1
|
||||||
-
|
-
|
||||||
name: Build arm64 and export to Docker
|
name: Build arm64 and export to Docker
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
load: true
|
load: true
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
||||||
kill %1
|
kill %1
|
||||||
-
|
-
|
||||||
name: Build armv7l and export to Docker
|
name: Build armv7l and export to Docker
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
load: true
|
load: true
|
||||||
|
@ -89,7 +89,7 @@ jobs:
|
||||||
kill %1
|
kill %1
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64, linux/arm64, linux/arm/v7
|
platforms: linux/amd64, linux/arm64, linux/arm/v7
|
||||||
|
|
Loading…
Add table
Reference in a new issue