diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml
new file mode 100644
index 0000000..f9e549b
--- /dev/null
+++ b/.github/workflows/main-ci.yml
@@ -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
diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml
new file mode 100644
index 0000000..bc51b09
--- /dev/null
+++ b/.github/workflows/release-ci.yml
@@ -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 }}
diff --git a/logo.svg b/logo.svg
index 844373d..8d8f0cb 100644
--- a/logo.svg
+++ b/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" />
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+