Skip to content

docs: update readme with docker details #18

docs: update readme with docker details

docs: update readme with docker details #18

Workflow file for this run

name: Build Docker Image
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
deploy:
name: Create build artifact
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build image
run: |
docker build . --tag ghcr.io/sparkbox/reaction-bot:latest
docker push ghcr.io/sparkbox/reaction-bot:latest