mirror of
https://github.com/shadoll/scatcher.git
synced 2025-12-20 03:26:59 +00:00
27 lines
534 B
YAML
27 lines
534 B
YAML
name: Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "Dockerfile"
|
|
- "requirements.txt"
|
|
pull_request:
|
|
paths:
|
|
- "Dockerfile"
|
|
- "requirements.txt"
|
|
- "compose.yml"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build the Docker image
|
|
run: docker build . --file Dockerfile --tag ghcr.io/shadoll/scatcher:latest
|
|
|
|
- name: Push the Docker image
|
|
run: docker push ghcr.io/shadoll/scatcher:latest
|