Re-add QEMU setup for building arm/v7
This commit is contained in:
parent
e227e4d148
commit
784ae1e833
2 changed files with 17 additions and 12 deletions
3
.github/workflows/release-candidate.yml
vendored
3
.github/workflows/release-candidate.yml
vendored
|
@ -38,6 +38,9 @@ jobs:
|
||||||
repo: meienberger/runtipi
|
repo: meienberger/runtipi
|
||||||
workflow_id: ${{ github.run_id }}
|
workflow_id: ${{ github.run_id }}
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
26
.github/workflows/release.yml
vendored
26
.github/workflows/release.yml
vendored
|
@ -34,27 +34,29 @@ jobs:
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
-
|
|
||||||
name: Set up Docker Buildx
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
-
|
|
||||||
name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
|
||||||
name: Get tag from VERSION file
|
- name: Get tag from VERSION file
|
||||||
id: meta
|
id: meta
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(cat VERSION)
|
VERSION=$(cat VERSION)
|
||||||
TAG=${VERSION}
|
TAG=${VERSION}
|
||||||
echo "::set-output name=tag::${TAG}"
|
echo "::set-output name=tag::${TAG}"
|
||||||
-
|
|
||||||
name: Build and push dashboard
|
- name: Build and push dashboard
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./packages/dashboard
|
context: ./packages/dashboard
|
||||||
|
@ -63,8 +65,8 @@ jobs:
|
||||||
tags: meienberger/tipi-dashboard:latest,meienberger/tipi-dashboard:${{ steps.meta.outputs.TAG }}
|
tags: meienberger/tipi-dashboard:latest,meienberger/tipi-dashboard:${{ steps.meta.outputs.TAG }}
|
||||||
cache-from: type=registry,ref=meienberger/tipi-dashboard:buildcache
|
cache-from: type=registry,ref=meienberger/tipi-dashboard:buildcache
|
||||||
cache-to: type=registry,ref=meienberger/tipi-dashboard:buildcache,mode=max
|
cache-to: type=registry,ref=meienberger/tipi-dashboard:buildcache,mode=max
|
||||||
-
|
|
||||||
name: Build and push api
|
- name: Build and push api
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./packages/system-api
|
context: ./packages/system-api
|
||||||
|
|
Loading…
Add table
Reference in a new issue