add docker autobuilding docker image for pocketbase

This commit is contained in:
2025-03-31 10:18:27 +02:00
parent 2b90d51647
commit a5acdedc12
2 changed files with 27 additions and 1 deletions

View File

@@ -23,4 +23,4 @@ jobs:
file: Dockerfile.dogbot file: Dockerfile.dogbot
context: . context: .
push: true push: true
tags: git.qwerinope.com/qwerinope/dogbot:latest tags: git.qwerinope.com/qwerinope/dogbot-bot:latest

View File

@@ -0,0 +1,26 @@
name: Build and Publish docker image
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Login to container Registry
uses: docker/login-action@v3
with:
registry: git.qwerinope.com
username: qwerinope
password: ${{ secrets.PAT }}
- name: Get repository
uses: actions/checkout@v4
- name: Docker Build and push
uses: docker/build-push-action@v6
with:
file: Dockerfile.pocketbase
context: .
push: true
tags: git.qwerinope.com/qwerinope/dogbot-pocketbase:latest