Skip to content

docs: replace Watchtower with host cron pull model #5

docs: replace Watchtower with host cron pull model

docs: replace Watchtower with host cron pull model #5

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
workflow_dispatch: # allow manual trigger from GitHub UI
jobs:
publish:
name: Build and Push Image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # needed to push to GHCR
steps:
- uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
target: production
push: true
tags: |
ghcr.io/hive76/beebot:latest
ghcr.io/hive76/beebot:${{ github.sha }}