docker
All checks were successful
build / build (push) Successful in 11s

This commit is contained in:
Constantin Simonis 2024-12-18 21:51:55 +01:00
parent ed48d61eda
commit e5f1dc7715
Signed by: csimonis
GPG Key ID: 3878FF77C24AF4D2
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,18 @@
name: build
on: push
jobs:
build:
runs-on: remote
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v1
with:
registry: git.simonis.lol
username: ${{ vars.DOCKER_USER }}
password: ${{ vars.DOCKER_PW }}
- name: build
run: docker build -t git.simonis.lol/sites/waterin.africa:latest .
- name: push
run: docker push git.simonis.lol/sites/waterin.africa:latest

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM php:8.2-apache
COPY . /var/www/html