Test
This commit is contained in:
@@ -9,7 +9,6 @@ jobs:
|
||||
matrix:
|
||||
config:
|
||||
- {arch: 'arm64'}
|
||||
- {arch: 'amd64'}
|
||||
runs-on: ${{ matrix.config.arch == 'arm64' && 'ubuntu-arm64' || 'ubuntu-amd64' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -27,6 +26,22 @@ jobs:
|
||||
- name: Build and Push Docker images for all Container Registries
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
tags: ${{ vars.DOCKERHUB_REPO }}:2.10.0-${{matrix.config.arch}} , ${{ vars.DOCKERHUB_REPO }}:latest-${{matrix.config.arch}}
|
||||
tags: ${{ vars.DOCKERHUB_REPO }}:latest-${{matrix.config.arch}}
|
||||
file: Dockerfile
|
||||
push: true
|
||||
|
||||
merge-docker-manifest:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Create and push manifest images
|
||||
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
|
||||
with:
|
||||
inputs: ${{ vars.DOCKERHUB_REPO }}:latest
|
||||
images: ${{ vars.DOCKERHUB_REPO }}:latest-arm64
|
||||
push: true
|
||||
|
||||
Reference in New Issue
Block a user