All checks were successful
Build Heidi Docker image / build-docker (push) Successful in 8s
28 lines
803 B
YAML
28 lines
803 B
YAML
name: Build Heidi Docker image
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
paths:
|
|
- ".gitea/workflows/*"
|
|
- "Dockerfile"
|
|
- "*.py"
|
|
- "requirements.txt"
|
|
|
|
jobs:
|
|
build-docker:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Login to container registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: gitea.vps.chriphost.de
|
|
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
|
|
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
|
- name: Build Docker image
|
|
run: docker build . --file Dockerfile --tag gitea.vps.chriphost.de/christoph/discord-heidi:latest
|
|
- name: Push Docker image
|
|
run: docker push gitea.vps.chriphost.de/christoph/discord-heidi:latest
|