Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix publish docker image tags name

Smaug67390436c084c153
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index d6b9e9d5..9043a4fe 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -1,8 +1,8 @@
name: Build and Publish Docker Images
on:
- push:
- branches: [deploy]
+ release:
+ types: [published]
jobs:
build-and-push:
@@ -34,7 +34,7 @@ jobs:
no-cache: true
tags: |
ghcr.io/${{ steps.repo.outputs.repo_lc }}-backend:latest
- ghcr.io/${{ steps.repo.outputs.repo_lc }}-backend:${{ github.ref_name }}
+ ghcr.io/${{ steps.repo.outputs.repo_lc }}-backend:${{ github.event.release.tag_name }}
- name: Build and push frontend image
uses: docker/build-push-action@v6
@@ -44,4 +44,4 @@ jobs:
no-cache: true
tags: |
ghcr.io/${{ steps.repo.outputs.repo_lc }}-frontend:latest
- ghcr.io/${{ steps.repo.outputs.repo_lc }}-frontend:${{ github.ref_name }}
+ ghcr.io/${{ steps.repo.outputs.repo_lc }}-frontend:${{ github.event.release.tag_name }}