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.

Push images to docker hub.

Mike Cao146bc30a6426
diff --git a/.github/workflows/cd-manual.yml b/.github/workflows/cd-manual.yml
index 1afc6e934..c5349d2d4 100644
--- a/.github/workflows/cd-manual.yml
+++ b/.github/workflows/cd-manual.yml
@@ -31,3 +31,13 @@ jobs:
platform: linux/amd64,linux/arm64
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
+
+ - uses: mr-smithers-excellent/docker-build-push@v6
+ name: Build & push Docker image to docker.io for ${{ matrix.db-type }}
+ with:
+ image: umamisoftware/umami
+ tags: ${{ matrix.db-type }}-${{ env.RELEASE_VERSION }}, ${{ matrix.db-type }}-latest
+ buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
+ registry: docker.io
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
\ No newline at end of file
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 6fda05a66..0660bcbaa 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -19,7 +19,7 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: mr-smithers-excellent/docker-build-push@v6
- name: Build & push Docker image for ${{ matrix.db-type }}
+ name: Build & push Docker image to ghcr.io for ${{ matrix.db-type }}
with:
image: umami
tags: ${{ matrix.db-type }}-${{ env.RELEASE_VERSION }}, ${{ matrix.db-type }}-latest
@@ -29,3 +29,13 @@ jobs:
platform: linux/amd64,linux/arm64
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
+
+ - uses: mr-smithers-excellent/docker-build-push@v6
+ name: Build & push Docker image to docker.io for ${{ matrix.db-type }}
+ with:
+ image: umamisoftware/umami
+ tags: ${{ matrix.db-type }}-${{ env.RELEASE_VERSION }}, ${{ matrix.db-type }}-latest
+ buildArgs: DATABASE_TYPE=${{ matrix.db-type }}
+ registry: docker.io
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
\ No newline at end of file