Added github deploy actions, changed logo a bit
This commit is contained in:
parent
e3d1b989fb
commit
367fad7b1d
47
.github/workflows/main-ci.yml
vendored
Normal file
47
.github/workflows/main-ci.yml
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
name: Publish Docker image on the Container registry
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /tmp/.buildx-cache
|
||||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-
|
||||
|
||||
- name: Login to the Container registry
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ghcr.io/${{ github.repository }}:${{ github.sha }},ghcr.io/${{ github.repository }}:latest
|
60
.github/workflows/release-ci.yml
vendored
Normal file
60
.github/workflows/release-ci.yml
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
name: Publish Docker image on Dockerhub
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
images: publite/frontend
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /tmp/.buildx-cache
|
||||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: dm1sh
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
53
logo.svg
53
logo.svg
@ -25,9 +25,9 @@
|
||||
showgrid="false"
|
||||
units="px"
|
||||
width="512px"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="220"
|
||||
inkscape:cy="243"
|
||||
inkscape:zoom="1.4142136"
|
||||
inkscape:cx="181.01934"
|
||||
inkscape:cy="141.42136"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1000"
|
||||
inkscape:window-x="-11"
|
||||
@ -48,31 +48,46 @@
|
||||
height="92.868752"
|
||||
x="0"
|
||||
y="0" />
|
||||
<g
|
||||
id="g3915"
|
||||
transform="matrix(0.85307089,0,0,0.85307089,9.9516264,-10.123503)">
|
||||
<path
|
||||
id="rect846"
|
||||
style="color:#000000;fill:#000000;stroke-width:9.99999;-inkscape-stroke:none"
|
||||
d="M -8.9238281,80 V 95 H 83.576172 v 320 h 15 V 95 H 191.07617 V 80 Z"
|
||||
transform="scale(0.26458333)" />
|
||||
style="color:#000000;fill:#000000;stroke-width:2.25708;-inkscape-stroke:none"
|
||||
d="M 7.937444,4.545348 V 7.9309728 H 28.815465 V 80.157642 h 3.385626 V 7.9309728 H 53.079112 V 4.545348 Z" />
|
||||
<path
|
||||
style="color:#000000;fill:#000000;stroke-miterlimit:0;-inkscape-stroke:none"
|
||||
d="m 49.232422,29.103516 c -10.570572,0 -19.181641,8.613021 -19.181641,19.183593 0,10.570572 8.611069,19.181641 19.181641,19.181641 10.570572,0 19.183594,-8.611069 19.183594,-19.181641 0,-10.570572 -8.613022,-19.183593 -19.183594,-19.183593 z m 0,3.96875 c 8.425702,0 15.214844,6.789141 15.214844,15.214843 0,8.425703 -6.789142,15.212891 -15.214844,15.212891 -8.425703,0 -15.212891,-6.787188 -15.212891,-15.212891 0,-8.425702 6.787188,-15.214843 15.212891,-15.214843 z"
|
||||
style="color:#000000;fill:#000000;stroke-width:0.85307;stroke-miterlimit:0;-inkscape-stroke:none"
|
||||
d="m 51.950372,11.315964 c -9.017447,0 -16.363299,7.347496 -16.363299,16.364915 0,9.017419 7.345852,16.36325 16.363299,16.36325 9.017448,0 16.364966,-7.345831 16.364966,-16.36325 0,-9.017419 -7.347518,-16.364915 -16.364966,-16.364915 z m 0,3.385615 c 7.187722,0 12.979341,5.791601 12.979341,12.9793 0,7.1877 -5.791619,12.977635 -12.979341,12.977635 -7.187722,0 -12.977674,-5.789935 -12.977674,-12.977635 0,-7.187699 5.789952,-12.9793 12.977674,-12.9793 z"
|
||||
id="path1247" />
|
||||
<path
|
||||
style="color:#000000;fill:#000000;stroke-miterlimit:0;-inkscape-stroke:none"
|
||||
d="m 49.232422,71.4375 c -10.570572,0 -19.181641,8.611069 -19.181641,19.181641 -3e-6,10.570569 8.611067,19.183589 19.181641,19.183589 10.570574,0 19.183597,-8.61302 19.183594,-19.183589 0,-10.570572 -8.613022,-19.181641 -19.183594,-19.181641 z m 0,3.96875 c 8.425702,0 15.214844,6.787188 15.214844,15.212891 2e-6,8.425704 -6.78914,15.214839 -15.214844,15.214839 -8.425704,0 -15.212893,-6.789135 -15.212891,-15.214839 0,-8.425703 6.787188,-15.212891 15.212891,-15.212891 z"
|
||||
style="color:#000000;fill:#000000;stroke-width:0.853071;stroke-miterlimit:0;-inkscape-stroke:none"
|
||||
d="m 51.950372,47.429933 c -9.017447,0 -16.363299,7.345852 -16.363299,16.363299 -3e-6,9.017445 7.34585,16.364962 16.363299,16.364962 9.017449,0 16.364969,-7.347517 16.364966,-16.364962 0,-9.017447 -7.347518,-16.363299 -16.364966,-16.363299 z m 0,3.385625 c 7.187722,0 12.979341,5.789952 12.979341,12.977674 2e-6,7.187723 -5.791618,12.979337 -12.979341,12.979337 -7.187722,0 -12.977676,-5.791614 -12.977674,-12.979337 0,-7.187722 5.789952,-12.977674 12.977674,-12.977674 z"
|
||||
id="path1247-9" />
|
||||
<path
|
||||
id="path1247-8"
|
||||
style="color:#000000;fill:#000000;stroke-width:3.77953;stroke-miterlimit:0;-inkscape-stroke:none"
|
||||
d="M 288.42578,109.99805 V 110 h -14.84961 v 305 h 14.84961 v 0.002 c 0.0503,0 0.10014,-0.002 0.15039,-0.002 39.38092,-0.0808 71.52329,-31.78799 72.32617,-71 h 0.0215 V 182 h -0.008 c -0.27164,-39.72162 -32.7061,-72.00195 -72.49006,-72.00195 z M 288.57617,125 c 31.77532,0.0808 57.34571,25.70706 57.34571,57.50195 h 0.002 v 159.9961 h -0.002 c 0,31.79489 -25.57039,57.4211 -57.34571,57.50195 z"
|
||||
transform="scale(0.26458333)" />
|
||||
style="color:#000000;fill:#000000;stroke-width:0.853071;stroke-miterlimit:0;-inkscape-stroke:none"
|
||||
d="m 75.05173,11.316158 v 4.4e-4 h -3.35168 v 68.841044 h 3.35168 v 4.52e-4 c 0.01135,0 0.0226,-4.52e-4 0.03394,-4.52e-4 8.888602,-0.01824 16.143403,-7.174814 16.324619,-16.025292 h 0.0049 V 27.567599 h -0.0018 C 91.35203,18.602098 84.031302,11.316158 75.05173,11.316158 Z m 0.03394,3.386066 c 7.171954,0.01824 12.943405,5.802297 12.943405,12.978669 h 4.51e-4 v 36.112454 h -4.51e-4 c 0,7.176372 -5.771451,12.960421 -12.943405,12.97867 z" />
|
||||
<path
|
||||
style="color:#000000;fill:#000000;stroke-miterlimit:0;-inkscape-stroke:none"
|
||||
d="m 118.64453,73.068359 c -10.57057,-2e-6 -19.181639,8.611067 -19.181639,19.181641 -3e-6,10.57058 8.611069,19.18164 19.181639,19.18164 10.57058,0 19.1836,-8.61106 19.18359,-19.18164 10e-6,-10.570574 -8.61302,-19.181643 -19.18359,-19.181641 z m 0,3.96875 c 8.42571,-2e-6 15.21485,6.787187 15.21484,15.212891 10e-6,8.42571 -6.78913,15.21289 -15.21484,15.21289 -8.4257,0 -15.21289,-6.78718 -15.21289,-15.21289 0,-8.425704 6.78719,-15.212893 15.21289,-15.212891 z"
|
||||
style="color:#000000;fill:#000000;stroke-width:0.853071;stroke-miterlimit:0;-inkscape-stroke:none"
|
||||
d="m 111.16382,48.821171 c -9.01744,-2e-6 -16.363297,7.345851 -16.363297,16.3633 -2e-6,9.017454 7.345857,16.363298 16.363297,16.363298 9.01746,0 16.36497,-7.345844 16.36496,-16.363298 1e-5,-9.017449 -7.34751,-16.363302 -16.36496,-16.3633 z m 0,3.385625 c 7.18773,-2e-6 12.97935,5.789952 12.97934,12.977675 1e-5,7.187728 -5.79161,12.977673 -12.97934,12.977673 -7.18772,0 -12.977672,-5.789945 -12.977672,-12.977673 0,-7.187723 5.789952,-12.977677 12.977672,-12.977675 z"
|
||||
id="path1247-3" />
|
||||
</g>
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1;stroke-width:1.29937"
|
||||
id="rect2043"
|
||||
width="12.943417"
|
||||
height="3.3856249"
|
||||
x="71.699966"
|
||||
y="27.116087" />
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1;stroke-width:1.29937"
|
||||
id="rect2043-7"
|
||||
width="12.943417"
|
||||
height="3.3856082"
|
||||
x="71.699966"
|
||||
y="40.65852" />
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1;stroke-width:1.29937"
|
||||
id="rect2043-9"
|
||||
width="12.943417"
|
||||
height="3.3856249"
|
||||
x="71.699966"
|
||||
y="33.887302" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.7 KiB |
Loading…
x
Reference in New Issue
Block a user