Files
qweribot/.github/workflows/docker-pocketbase.yml

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 }}"