Test2
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user