Skip to content

Commit

Permalink
Merge branch 'develop' into zh-CN-translation
Browse files Browse the repository at this point in the history
  • Loading branch information
LynBean authored Jul 25, 2024
2 parents bf20a1c + 18e2488 commit 5e1f4cd
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

-
name: Get repo name
Expand All @@ -26,23 +26,23 @@ jobs:
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

-
name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}

-
name: Cache Docker layers
uses: actions/cache@v3.2.4
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand All @@ -51,7 +51,7 @@ jobs:
-
name: Docker Buildx (build)
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
Expand All @@ -69,7 +69,7 @@ jobs:
-
name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ steps.repo_name.outputs.name }}
tags: |
Expand All @@ -83,7 +83,7 @@ jobs:
-
name: Docker Buildx (push)
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
Expand All @@ -95,4 +95,4 @@ jobs:
linux/arm64
cache-from: |
type=local,src=/tmp/.buildx-cache
type=local,src=/tmp/.buildx-cache

0 comments on commit 5e1f4cd

Please sign in to comment.