1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-23 18:53:36 +02:00

Tools: Switch Joplin Server image location to laurent22/joplin-server

This commit is contained in:
Laurent Cozic 2023-03-17 17:48:59 +00:00
parent 6d8ce280dd
commit 6729a3d51f
4 changed files with 9 additions and 9 deletions

View File

@ -97,7 +97,7 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }} GH_TOKEN: ${{ secrets.GH_TOKEN }}
IS_CONTINUOUS_INTEGRATION: 1 IS_CONTINUOUS_INTEGRATION: 1
BUILD_SEQUENCIAL: 1 BUILD_SEQUENCIAL: 1
SERVER_REPOSITORY: joplin/server SERVER_REPOSITORY: laurent22/joplin-server
SERVER_TAG_PREFIX: server SERVER_TAG_PREFIX: server
run: | run: |
"${GITHUB_WORKSPACE}/.github/scripts/run_ci.sh" "${GITHUB_WORKSPACE}/.github/scripts/run_ci.sh"
@ -122,7 +122,7 @@ jobs:
env: env:
IS_CONTINUOUS_INTEGRATION: 1 IS_CONTINUOUS_INTEGRATION: 1
BUILD_SEQUENCIAL: 1 BUILD_SEQUENCIAL: 1
SERVER_REPOSITORY: joplin/server SERVER_REPOSITORY: laurent22/joplin-server
SERVER_TAG_PREFIX: server SERVER_TAG_PREFIX: server
run: | run: |
yarn install && cd packages/app-desktop && yarn run dist --publish=never yarn install && cd packages/app-desktop && yarn run dist --publish=never
@ -166,8 +166,8 @@ jobs:
BUILD_SEQUENCIAL: 1 BUILD_SEQUENCIAL: 1
run: | run: |
yarn install yarn install
yarn run buildServerDocker --tag-name server-v0.0.0 --repository joplin/server yarn run buildServerDocker --tag-name server-v0.0.0 --repository laurent22/joplin-server
# Basic test to ensure that the created build is valid. It should exit with # Basic test to ensure that the created build is valid. It should exit with
# code 0 if it works. # code 0 if it works.
docker run joplin/server:0.0.0-beta node dist/app.js migrate list docker run laurent22/joplin-server:0.0.0-beta node dist/app.js migrate list

View File

@ -30,7 +30,7 @@ services:
- POSTGRES_USER=${POSTGRES_USER} - POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_DB=${POSTGRES_DATABASE} - POSTGRES_DB=${POSTGRES_DATABASE}
app: app:
image: joplin/server:latest image: laurent22/joplin-server:latest
depends_on: depends_on:
- db - db
ports: ports:

View File

@ -12,7 +12,7 @@
3. Run the following command to test starting the server using the default configuration: 3. Run the following command to test starting the server using the default configuration:
```shell ```shell
docker run --env-file .env -p 22300:22300 joplin/server:latest docker run --env-file .env -p 22300:22300 laurent22/joplin-server:latest
``` ```
The server will listen on port **22300** on **localhost**. By default, the server will use SQLite, which allows you to test the app without setting up a database. When running the server for production use, you should connect the container to a database, as described below. The server will listen on port **22300** on **localhost**. By default, the server will use SQLite, which allows you to test the app without setting up a database. When running the server for production use, you should connect the container to a database, as described below.

View File

@ -6,9 +6,9 @@ async function main() {
const version = argv._[0]; const version = argv._[0];
await execCommand2(`docker pull "joplin/server:${version}"`); await execCommand2(`docker pull "laurent22/joplin-server:${version}"`);
await execCommand2(`docker tag "joplin/server:${version}" "joplin/server:latest"`); await execCommand2(`docker tag "laurent22/joplin-server:${version}" "laurent22/joplin-server:latest"`);
await execCommand2('docker push joplin/server:latest'); await execCommand2('docker push laurent22/joplin-server:latest');
} }
if (require.main === module) { if (require.main === module) {