Merge pull request #1736 from gravitl/upgrade_v0.16.4_github_actions

update github actions version missed in earlier PR
This commit is contained in:
dcarns 2022-11-15 10:23:57 -05:00 committed by GitHub
commit 828d5a2c6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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@v3
- -
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v2 uses: docker/login-action@v2

View file

@ -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

View file

@ -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