mirror of https://github.com/knative/docs.git
fix: update the github action versions, as reviewdog is complaining (#6049)
This commit is contained in:
parent
e60ba5b0c4
commit
0784d58019
|
@ -19,27 +19,27 @@ jobs:
|
|||
packages: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build mkdocs image
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
file: ./hack/docker/Dockerfile
|
||||
tags: ghcr.io/knative/knative-docs:latest
|
||||
|
||||
- name: Build helloworld-go image
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
|
||||
|
@ -47,7 +47,7 @@ jobs:
|
|||
tags: ghcr.io/knative/helloworld-go:latest
|
||||
|
||||
- name: Build autoscale-go image
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
|
||||
|
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
GOPATH: ${{ github.workspace }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue