mirror of
https://github.com/openvk/openvk
synced 2025-07-01 21:48:17 +03:00
Compare commits
3 commits
17d4b22b1b
...
e49f927186
Author | SHA1 | Date | |
---|---|---|---|
|
e49f927186 | ||
|
4166481a75 | ||
7fe0c6a122 |
2 changed files with 123 additions and 125 deletions
18
.github/workflows/build.yaml
vendored
18
.github/workflows/build.yaml
vendored
|
@ -6,14 +6,11 @@ env:
|
|||
BASE_IMAGE_NAME: openvk
|
||||
DB_IMAGE_NAME: mariadb
|
||||
EVENT_IMAGE_NAME: mariadb
|
||||
DB_VERSION: "10.9"
|
||||
DB_VERSION: '10.9'
|
||||
|
||||
jobs:
|
||||
buildbase:
|
||||
name: Build base images
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [amd64, arm64]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
@ -24,6 +21,8 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
- name: Change repository string to lowercase
|
||||
id: repositorystring
|
||||
|
@ -53,7 +52,7 @@ jobs:
|
|||
- name: Build base image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/${{matrix.platform}}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
file: install/automated/docker/openvk.Dockerfile
|
||||
tags: ${{ steps.basemeta.outputs.tags }}
|
||||
labels: ${{ steps.basemeta.outputs.labels }}
|
||||
|
@ -63,9 +62,6 @@ jobs:
|
|||
|
||||
builddb:
|
||||
name: Build DB images
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [amd64, arm64]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
@ -76,6 +72,8 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
- name: Change repository string to lowercase
|
||||
id: repositorystring
|
||||
|
@ -125,7 +123,7 @@ jobs:
|
|||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
platforms: linux/${{matrix.platform}}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
file: install/automated/docker/mariadb-primary.Dockerfile
|
||||
tags: ${{ steps.db-primarymeta.outputs.tags }}
|
||||
labels: ${{ steps.db-primarymeta.outputs.labels }}
|
||||
|
@ -136,7 +134,7 @@ jobs:
|
|||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
platforms: linux/${{matrix.platform}}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
file: install/automated/docker/mariadb-eventdb.Dockerfile
|
||||
tags: ${{ steps.db-eventmeta.outputs.tags }}
|
||||
labels: ${{ steps.db-eventmeta.outputs.labels }}
|
||||
|
|
|
@ -232,7 +232,7 @@
|
|||
|
||||
sendMessage(content) {
|
||||
console.debug("New outcoming message. Pushing preview to local stack.");
|
||||
let tempId = this.newMessage(content);
|
||||
let tempId = this.newMessage(escapeHtml(content));
|
||||
|
||||
let msgData = new FormData();
|
||||
msgData.set("content", content);
|
||||
|
|
Loading…
Reference in a new issue