Files
flask-formula10/.gitea/workflows/docker.yaml
Christoph Urlacher 10a79dfae3
Some checks failed
Build Formula10 Docker Image / build-docker (push) Failing after 16s
Update dockerfile
2024-02-24 18:10:54 +01:00

31 lines
843 B
YAML

name: Build Formula10 Docker Image
on:
push:
branches: [main]
paths:
- ".gitea/workflows/*"
- "Dockerfile"
- "requirements.txt"
- "*.py"
- "templates/*"
- "static/*"
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.local.chriphost.de/christoph/formula10:latest
- name: Push Docker image
run: docker push gitea.local.chriphost.de/christoph/formula10:latest