Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update build docker image actions (#2045)

boojack8f37c77dffee
diff --git a/.github/workflows/build-and-push-release-image.yml b/.github/workflows/build-and-push-release-image.yml
index 0c90e82ac..b95d5ff97 100644
--- a/.github/workflows/build-and-push-release-image.yml
+++ b/.github/workflows/build-and-push-release-image.yml
@@ -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
diff --git a/.github/workflows/build-and-push-test-image.yml b/.github/workflows/build-and-push-test-image.yml
index 14efe6306..d60877707 100644
--- a/.github/workflows/build-and-push-test-image.yml
+++ b/.github/workflows/build-and-push-test-image.yml
@@ -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