Merge test
This commit is contained in:
@@ -2,10 +2,6 @@ name: Docker Build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
paths-ignore:
|
|
||||||
- '**/README.md'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
25
.gitea/workflows/merge.yaml
Normal file
25
.gitea/workflows/merge.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Docker Merge
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
paths-ignore:
|
||||||
|
- '**/README.md'
|
||||||
|
|
||||||
|
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
|
||||||
|
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-amd64,${{ vars.DOCKERHUB_REPO }}:latest-arm64
|
||||||
|
push: true
|
||||||
Reference in New Issue
Block a user