mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Fixed Docker permissions.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
This commit is contained in:
parent
e3ca002d77
commit
de6515139e
1 changed files with 5 additions and 4 deletions
9
.github/workflows/cd.yml
vendored
9
.github/workflows/cd.yml
vendored
|
|
@ -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) || '' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue