Skip to content

Commit

Permalink
fix: update the github action versions, as reviewdog is complaining (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo6Leo authored Jul 9, 2024
1 parent e60ba5b commit 0784d58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/knative-docs-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,35 @@ 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
context: ./code-samples/serving/hello-world/helloworld-go
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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs-strict-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
GOPATH: ${{ github.workspace }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down

0 comments on commit 0784d58

Please sign in to comment.