mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 18:15:35 +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"
|
TAGS="$VERSION"
|
||||||
else
|
else
|
||||||
# stable release: version + hierarchy + latest
|
# stable release: version + hierarchy + latest
|
||||||
TAGS="$VERSION,${MAJOR}.${MINOR},${MAJOR},latest"
|
TAGS="$VERSION,${MAJOR}.${MINOR},${MAJOR},postgresql-latest,latest"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Non-tag build (e.g. from main branch)
|
# Non-tag build (e.g. from main branch)
|
||||||
|
|
@ -78,14 +78,15 @@ jobs:
|
||||||
echo "Computed tags: $TAGS"
|
echo "Computed tags: $TAGS"
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
|
id: build
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64
|
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-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
provenance: false
|
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