Skip to content

Commit

Permalink
try to build for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Jan 19, 2025
1 parent 99fa8a4 commit 9751e54
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build-standard-image-arm64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build Standard Image Arm64

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+a[0-9]+\-arm64'
- '[0-9]+.[0-9]+.[0-9]+b[0-9]+\-arm64'
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+\-arm64'
- '[0-9]+.[0-9]+.[0-9]+\-arm64'
- '[0-9]+.[0-9]+a[0-9]+\-arm64'
- '[0-9]+.[0-9]+b[0-9]+\-arm64'
- '[0-9]+.[0-9]+rc[0-9]+\-arm64'
- '[0-9]+.[0-9]+\-arm64'
- '[0-9]+\-arm64'

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }} # checkout current branch
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build ${{ github.ref_name }} Prod Image
uses: docker/build-push-action@v3
with:
push: true
tags: papermerge/papermerge:${{ github.ref_name }}
file: docker/standard/Dockerfile
platforms: linux/arm/v7,linux/arm64/v8

0 comments on commit 9751e54

Please sign in to comment.