This commit is contained in:
2025-07-07 19:05:35 +05:30
parent eee6b451ff
commit 385f5dc5da

View File

@@ -12,8 +12,7 @@ jobs:
matrix: matrix:
config: config:
- {arch: 'arm64'} - {arch: 'arm64'}
- {arch: 'amd64'} runs-on: ubuntu-arm64
runs-on: ${{ matrix.config.arch == 'arm64' && 'ubuntu-arm64' || 'ubuntu-amd64' }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -59,13 +58,13 @@ jobs:
- name: Create and push manifest images for pinned - name: Create and push manifest images for pinned
uses: Noelware/docker-manifest-action@v1 uses: Noelware/docker-manifest-action@v1
with: with:
inputs: ${{ env.DOCKERHUB_REPO }}:${{ env.VERSION }}-arm64,${{ env.DOCKERHUB_REPO }}:${{ env.VERSION }}-amd64 inputs: ${{ env.DOCKERHUB_REPO }}:${{ env.VERSION }}-arm64
tags: ${{ env.DOCKERHUB_REPO }}:${{ env.VERSION }} tags: ${{ env.DOCKERHUB_REPO }}:${{ env.VERSION }}
push: true push: true
- name: Create and push manifest images for latest - name: Create and push manifest images for latest
uses: Noelware/docker-manifest-action@v1 uses: Noelware/docker-manifest-action@v1
with: with:
inputs: ${{ env.DOCKERHUB_REPO }}:latest-arm64,${{ env.DOCKERHUB_REPO }}:latest-amd64 inputs: ${{ env.DOCKERHUB_REPO }}:latest-arm64
tags: ${{ env.DOCKERHUB_REPO }}:latest tags: ${{ env.DOCKERHUB_REPO }}:latest
push: true push: true