mirror of
https://github.com/openzim/zimit.git
synced 2025-09-28 15:33:57 -04:00
Add second build job on native arch for ARM64
This commit is contained in:
parent
4ef9a0d380
commit
cea10bd3b5
28
.github/workflows/Publish.yml
vendored
28
.github/workflows/Publish.yml
vendored
@ -5,8 +5,9 @@ on:
|
|||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish-amd64:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
name: "Publish for AMD64"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -26,3 +27,26 @@ jobs:
|
|||||||
repo_overview: auto
|
repo_overview: auto
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
|
|
||||||
|
publish-arm64:
|
||||||
|
runs-on: ubuntu-24.04-arm
|
||||||
|
name: "Publish for ARM64"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: openzim/docker-publish-action@v10
|
||||||
|
with:
|
||||||
|
image-name: openzim/zimit
|
||||||
|
tag-pattern: /^v([0-9.]+)$/
|
||||||
|
latest-on-tag: true
|
||||||
|
restrict-to: openzim/zimit
|
||||||
|
registries: ghcr.io
|
||||||
|
credentials:
|
||||||
|
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
|
||||||
|
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
|
||||||
|
repo_description: auto
|
||||||
|
repo_overview: auto
|
||||||
|
platforms: |
|
||||||
|
linux/arm64
|
||||||
|
28
.github/workflows/PublishDockerDevImage.yaml
vendored
28
.github/workflows/PublishDockerDevImage.yaml
vendored
@ -7,8 +7,9 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish-amd64:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
name: "Publish for AMD64"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -28,3 +29,26 @@ jobs:
|
|||||||
repo_overview: auto
|
repo_overview: auto
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
|
|
||||||
|
publish-arm64:
|
||||||
|
runs-on: ubuntu-24.04-arm64
|
||||||
|
name: "Publish for ARM64"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: openzim/docker-publish-action@v10
|
||||||
|
with:
|
||||||
|
image-name: openzim/zimit
|
||||||
|
manual-tag: dev
|
||||||
|
latest-on-tag: false
|
||||||
|
restrict-to: openzim/zimit
|
||||||
|
registries: ghcr.io
|
||||||
|
credentials:
|
||||||
|
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
|
||||||
|
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
|
||||||
|
repo_description: auto
|
||||||
|
repo_overview: auto
|
||||||
|
platforms: |
|
||||||
|
linux/arm64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user