chore: update build docker image actions (#2045)

This commit is contained in:
boojack 2023-07-29 15:59:23 +08:00 committed by GitHub
parent 28aecd86d3
commit 8f37c77dff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -30,6 +30,12 @@ jobs:
username: neosmemo
password: ${{ secrets.DOCKER_NEOSMEMO_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: yourselfhosted
password: ${{ secrets.DOCKER_YOURSELFHOSTED_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
@ -50,6 +56,7 @@ jobs:
with:
images: |
neosmemo/memos
yourselfhosted/memos
ghcr.io/usememos/memos
tags: |
type=raw,value=latest

View File

@ -22,6 +22,12 @@ jobs:
username: neosmemo
password: ${{ secrets.DOCKER_NEOSMEMO_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: yourselfhosted
password: ${{ secrets.DOCKER_YOURSELFHOSTED_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
@ -42,6 +48,7 @@ jobs:
with:
images: |
neosmemo/memos
yourselfhosted/memos
ghcr.io/usememos/memos
flavor: |
latest=false