mirror of
https://github.com/usememos/memos.git
synced 2025-03-04 01:04:38 +08:00
chore: update build docker image actions (#2045)
This commit is contained in:
parent
28aecd86d3
commit
8f37c77dff
2 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue