dockerize maybe
All checks were successful
build / build (push) Successful in 9s

This commit is contained in:
Constantin Simonis 2025-01-16 16:55:58 +01:00
parent 7d84e2cf6d
commit 3ea6c4c5b9
Signed by: csimonis
GPG Key ID: 3878FF77C24AF4D2
5 changed files with 23 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/simonis.lol:latest .
- name: push
run: docker push git.simonis.lol/sites/simonis.lol:latest

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM nginx:latest
COPY src /usr/share/nginx/html
CMD ["nginx", "-g", "daemon off;"]