This commit is contained in:
parent
8d2c6d755b
commit
5f3725b72a
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/cdn:latest .
|
||||
|
||||
- name: push
|
||||
run: docker push git.simonis.lol/sites/cdn:latest
|
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM nginx:latest
|
||||
|
||||
COPY src /usr/share/nginx/html
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 131 KiB |
Loading…
x
Reference in New Issue
Block a user