Compare commits
66
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1fb804c72e | ||
|
|
89d77f72ae | ||
|
|
b07a7ba5d8 | ||
|
|
0a7029973b | ||
|
|
b0c4ff5fd5 | ||
|
|
26bcfba18f | ||
|
|
72878d1350 | ||
|
|
73ddd63af1 | ||
|
|
e712ace818 | ||
|
|
f1519f69cc | ||
|
|
d6a1488df8 | ||
|
|
3c88849bd6 | ||
|
|
cf10110801 | ||
|
|
c69a4c78f4 | ||
|
|
172633de84 | ||
|
|
97da4ba6f5 | ||
|
|
268fa7d113 | ||
|
|
01efc4e904 | ||
|
|
3a5379b259 | ||
|
|
7e0d14bd5a | ||
|
|
c14a8a23a8 | ||
|
|
1e93e354f4 | ||
|
|
31dbbc4079 | ||
|
|
dd044d5ed4 | ||
|
|
f2b561a576 | ||
|
|
617c592fcd | ||
|
|
2865bd48bc | ||
|
|
d7fce96c88 | ||
|
|
f6614aed7b | ||
|
|
13f90b070c | ||
|
|
41139e9696 | ||
|
|
7abca08775 | ||
|
|
0ee22f49f3 | ||
|
|
ddfd732122 | ||
|
|
98cfe88d9c | ||
|
|
dcc7ffa1e3 | ||
|
|
fdbb44a39f | ||
|
|
988da26979 | ||
|
|
ca92af5f24 | ||
|
|
bccb2d34f6 | ||
|
|
606d89f497 | ||
|
|
fca1c062b1 | ||
|
|
33b697aba3 | ||
|
|
d6f13ac9e6 | ||
|
|
425253bb52 | ||
|
|
4815504c13 | ||
|
|
dee3b31133 | ||
|
|
142a7b3388 | ||
|
|
174f803195 | ||
|
|
6e1bfad553 | ||
|
|
1812184292 | ||
|
|
827fae5d59 | ||
|
|
47a3acdef1 | ||
|
|
aa64cad7d3 | ||
|
|
d6920f0b6a | ||
|
|
45ccaaffed | ||
|
|
584ec36bc3 | ||
|
|
b5a839c8cd | ||
|
|
d87f7fc35e | ||
|
|
35955ddc1d | ||
|
|
6f7467d467 | ||
|
|
4378ea77b2 | ||
|
|
c1d91e5399 | ||
|
|
67bb1ff22a | ||
|
|
cf47047329 | ||
|
|
15b9f4d04b |
@@ -0,0 +1,49 @@
|
|||||||
|
name: Docker Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Login to Gitea Container Registry
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: gitea.forkless.com
|
||||||
|
username: ${{ secrets.GITEAUSER }}
|
||||||
|
password: ${{ secrets.GITEATOKEN }}
|
||||||
|
|
||||||
|
- name: Docker metadata
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v5
|
||||||
|
with:
|
||||||
|
images: gitea.forkless.com/forkless/mermaid-live-editor
|
||||||
|
tags: |
|
||||||
|
type=raw,value=latest,enable=${{ github.ref_name == 'master' }}
|
||||||
|
type=raw,value=nightly,enable=${{ github.ref_name == 'develop' }}
|
||||||
|
type=sha,prefix={{branch}}-
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
target: mermaid
|
||||||
|
push: ${{ github.event_name == 'push' }}
|
||||||
|
pull: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
build-args: |
|
||||||
|
MERMAID_RENDERER_URL=${{ vars.MERMAID_RENDERER_URL || 'https://mermaid.ink' }}
|
||||||
|
MERMAID_KROKI_RENDERER_URL=${{ vars.MERMAID_KROKI_RENDERER_URL || 'https://kroki.io' }}
|
||||||
|
MERMAID_IS_ENABLED_MERMAID_CHART_LINKS=false
|
||||||
@@ -116,6 +116,7 @@ This app is created with Svelte Kit.
|
|||||||
## Release
|
## Release
|
||||||
|
|
||||||
When a PR is created targeting master, it will be built and deployed by Netlify.
|
When a PR is created targeting master, it will be built and deployed by Netlify.
|
||||||
|
|
||||||
The URL will be indicated in a Comment in the PR.
|
The URL will be indicated in a Comment in the PR.
|
||||||
|
|
||||||
Once the PR is merged, it will automatically be released.
|
Once the PR is merged, it will automatically be released.
|
||||||
|
|||||||
Reference in New Issue
Block a user