mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-19 09:01:38 +01:00
28 lines
708 B
YAML
28 lines
708 B
YAML
name: Build and Publish pocketbase 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: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- 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: ghcr.io/qweri0p/dogbot-pocketbase:latest
|
|
secrets: "github_token=${{ secrets.GITHUB_TOKEN }}"
|