mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-06 04:51:44 -07:00
ci: add ARM64 build
This commit is contained in:
parent
0b2d62cc15
commit
2760438c1b
3 changed files with 10 additions and 7 deletions
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
|
@ -15,6 +15,10 @@ jobs:
|
|||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Prepare zero-ui
|
||||
id: prep_zero-ui
|
||||
run: |
|
||||
|
@ -28,9 +32,6 @@ jobs:
|
|||
TAGS="$TAGS,${DOCKER_IMAGE}:latest"
|
||||
fi
|
||||
echo ::set-output name=tags::${TAGS}
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v2
|
||||
|
@ -39,7 +40,9 @@ jobs:
|
|||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-
|
||||
- uses: docker/login-action@v1
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
|
@ -51,6 +54,7 @@ jobs:
|
|||
context: ./
|
||||
file: ./docker/zero-ui/Dockerfile
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.prep_zero-ui.outputs.tags }}
|
||||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
|
@ -63,6 +67,7 @@ jobs:
|
|||
context: ./
|
||||
file: ./docker/zerotier/Dockerfile
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/zerotier-controller:latest
|
||||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [1.0.7](https://github.com/dec0dOS/zero-ui/compare/v1.0.6...v1.0.7) (2021-05-15)
|
||||
|
||||
### [1.0.6](https://github.com/dec0dOS/zero-ui/compare/v1.0.5...v1.0.6) (2021-05-15)
|
||||
|
||||
### [1.0.5](https://github.com/dec0dOS/zero-ui/compare/v1.0.4...v1.0.5) (2021-04-16)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "zero-ui",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.6",
|
||||
"private": "true",
|
||||
"scripts": {
|
||||
"postinstall": "husky install",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue