mirror of
https://github.com/openzim/zimit.git
synced 2025-09-26 14:23:11 -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]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-22.04
|
||||
publish-amd64:
|
||||
runs-on: ubuntu-24.04
|
||||
name: "Publish for AMD64"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -26,3 +27,26 @@ jobs:
|
||||
repo_overview: auto
|
||||
platforms: |
|
||||
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:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-22.04
|
||||
publish-amd64:
|
||||
runs-on: ubuntu-24.04
|
||||
name: "Publish for AMD64"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -28,3 +29,26 @@ jobs:
|
||||
repo_overview: auto
|
||||
platforms: |
|
||||
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