Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fixed Docker permissions.

Mike Caode6515139e50
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index f21f58aa1..6569954ea 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -67,7 +67,7 @@ jobs:
TAGS="$VERSION"
else
# stable release: version + hierarchy + latest
- TAGS="$VERSION,${MAJOR}.${MINOR},${MAJOR},latest"
+ TAGS="$VERSION,${MAJOR}.${MINOR},${MAJOR},postgresql-latest,latest"
fi
else
# Non-tag build (e.g. from main branch)
@@ -78,14 +78,15 @@ jobs:
echo "Computed tags: $TAGS"
- name: Build and push Docker image
+ id: build
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
- tags: |
- umamisoftware/umami:${{ steps.compute.outputs.tags }}
- ghcr.io/${{ github.repository }}:${{ steps.compute.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
+ tags: |
+ ghcr.io/${{ github.repository }}:${{ steps.compute.outputs.tags }}
+ ${{ github.repository == 'umami-software/umami' && format('umamisoftware/umami:{0}', steps.compute.outputs.tags) || '' }}