mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 03:55:37 +01:00
upgrade
This commit is contained in:
parent
bbf91f31db
commit
6a8b804aff
27 changed files with 16152 additions and 2893 deletions
29
.github/workflows/cd-cloud.yml
vendored
Normal file
29
.github/workflows/cd-cloud.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
name: Create docker images
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- analytics
|
||||
- cloud
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build, push, and deploy
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Generate random hash
|
||||
id: random_hash
|
||||
run: echo "hash=$(openssl rand -hex 4)" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: mr-smithers-excellent/docker-build-push@v6
|
||||
name: Build & push Docker image to docker.io
|
||||
with:
|
||||
image: umamisoftware/umami
|
||||
tags: cloud-${{ steps.random_hash.outputs.hash }}, cloud-latest
|
||||
buildArgs: DATABASE_TYPE=postgresql
|
||||
registry: docker.io
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue