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

This commit is contained in:
Constantin Simonis 2025-01-16 16:46:20 +01:00
parent 8d2c6d755b
commit 5f3725b72a
Signed by: csimonis
GPG Key ID: 3878FF77C24AF4D2
8 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/cdn:latest .
- name: push
run: docker push git.simonis.lol/sites/cdn: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;"]

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 131 KiB