Skip to content

Commit

Permalink
ci: Github workflow arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuangs committed Jun 18, 2024
1 parent 483b83b commit 449a7fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/update-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/system-server:${{ github.event.inputs.tags }}
file: Dockerfile
platforms: linux/amd64,linux/arm64
- name: get latest tag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
id: get-latest-tag
Expand Down Expand Up @@ -59,3 +52,4 @@ jobs:
file: Dockerfile
push: true
tags: beclab/desktop:${{ steps.get-latest-tag.outputs.tag }}
platforms: linux/amd64,linux/arm64
12 changes: 3 additions & 9 deletions .github/workflows/update-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,16 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/system-server:${{ github.event.inputs.tags }}
file: Dockerfile
platforms: linux/amd64,linux/arm64
- name: get latest tag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
id: get-latest-tag
with:
fallback: latest
- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile-server2
push: true
tags: beclab/desktop-server:${{ steps.get-latest-tag.outputs.tag }}
tags: beclab/desktop-server:${{ steps.get-latest-tag.outputs.tag }}
platforms: linux/amd64,linux/arm64

0 comments on commit 449a7fa

Please sign in to comment.