on tagging

This commit is contained in:
cupcakearmy 2021-05-02 15:12:04 +02:00
parent b053fc15f4
commit c1ff3a6543
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
3 changed files with 15 additions and 3 deletions

View File

@ -3,8 +3,8 @@ name: ci
on:
workflow_dispatch:
push:
branches:
- "main"
tags:
- "v*.*.*"
jobs:
docker:
@ -14,6 +14,14 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Docker Labels
id: meta
uses: crazy-max/ghaction-docker-meta@v2
with:
images: cupcakearmy/cryptgeon
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Login to DockerHub
uses: docker/login-action@v1
with:
@ -24,6 +32,6 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: cupcakearmy/cryptgeon:latest
tags: ${{ steps.meta.outputs.tags }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

View File

@ -16,6 +16,10 @@ _cryptgeon_ is an secure, open source sharing note service inspired by [_PrivNot
each note has a 512bit generated <i>id</i> that is used to retrieve the note. data is stored in memory and never persisted to disk.
## Screenshot
![screenshot](./design/screen.jpg)
## Deployment
Docker is the easiest way.

BIN
design/screen.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB