Skip to content

Commit

Permalink
ci: update workflows config.
Browse files Browse the repository at this point in the history
jaywcjlove committed Sep 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 15fbcf5 commit d6faab9
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -49,29 +49,23 @@ jobs:
.next
.git
EOF
- run: ls -al

- name: Set up QEMU
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: all

# Create Docker Image
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build manifests
run: |
echo "Re-tagging latest"
docker buildx imagetools create -t ${{ secrets.DOCKER_USER }}/zh-hans.react.dev:latest
- name: Build and push image:latest
uses: docker/build-push-action@v3
with:

0 comments on commit d6faab9

Please sign in to comment.