Update .forgejo/workflows/umami.yml
Test for auto builds
This commit is contained in:
parent
b63559aafb
commit
776a431cf4
1 changed files with 36 additions and 0 deletions
|
|
@ -0,0 +1,36 @@
|
|||
name: Build custom umami
|
||||
|
||||
on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
repository: 'https://github.com/umami-software/umami
|
||||
|
||||
- name: Login to image registry
|
||||
uses: docker/login-action@master
|
||||
with:
|
||||
registry: git.octubre.be
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.LOGIN_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
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue