This commit is contained in:
parent
ed48d61eda
commit
e5f1dc7715
18
.gitea/workflows/build.yaml
Normal file
18
.gitea/workflows/build.yaml
Normal 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
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM php:8.2-apache
|
||||||
|
|
||||||
|
COPY . /var/www/html
|
Loading…
x
Reference in New Issue
Block a user