umami-custom/.forgejo/workflows/umami.yml
watson 7b0bcb81d2
Some checks are pending
Build custom umami / Build (push) Waiting to run
Update .forgejo/workflows/umami.yml
2025-08-24 18:00:35 +02:00

47 lines
996 B
YAML

name: Build custom umami
on:
push:
branches: [main]
jobs:
Build:
image: docker:24
steps:
- name: Test
run: docker version && pwd
- name: Checkout code
uses: actions/checkout@v4
with:
repository: watson/umami
path: umami
ref: master
- name: Test 2
run: docker version && pwd
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to image registry
uses: docker/login-action@master
with:
registry: git.octubre.be
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@master
with:
context: .
file: Dockerfile
push: true
tags: 'latest'
buildArgs: |
DATABASE_TYPE=postgresql
BASE_PATH=/stats