28 lines
977 B
YAML
28 lines
977 B
YAML
name: Docker Merge
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
merge-docker-manifest:
|
|
runs-on: ubuntu-latest
|
|
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 for pinned
|
|
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
|
|
with:
|
|
inputs: ${{ vars.DOCKERHUB_REPO }}:2.10.0-arm64,${{ vars.DOCKERHUB_REPO }}:2.10.0-amd64
|
|
tags: ${{ vars.DOCKERHUB_REPO }}:2.10.0
|
|
push: true
|
|
|
|
- name: Create and push manifest images for latest
|
|
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
|
|
with:
|
|
inputs: ${{ vars.DOCKERHUB_REPO }}:latest-arm64,${{ vars.DOCKERHUB_REPO }}:latest-amd64
|
|
tags: ${{ vars.DOCKERHUB_REPO }}:latest
|
|
push: true |