This commit is contained in:
20
.gitea/workflows/build.yaml
Normal file
20
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: ClarkeIS Build
|
||||||
|
run-name: building clarkeis.com
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build-Docker-Image:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Pull repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: swaous.asuscomm.com
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
docker build -t swaous.asuscomm.com/clarkeis.com:latest .
|
||||||
|
docker push swaous.asuscomm.com/clarkeis.com:latest
|
||||||
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
FROM busybox:1.35
|
||||||
|
|
||||||
|
# Create a non-root user to own the files and run our server
|
||||||
|
RUN mkdir /static
|
||||||
|
WORKDIR /static
|
||||||
|
|
||||||
|
# Copy the static website
|
||||||
|
# Use the .dockerignore file to control what ends up inside the image!
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Run BusyBox httpd
|
||||||
|
CMD ["busybox", "httpd", "-f", "-v", "-p", "80"]
|
||||||
@@ -1 +1,2 @@
|
|||||||
balls!
|
<h1>Under Construction</h1>
|
||||||
|
Welcome to the Clarke Information Systems homepage! This website is currently under construction. Check back later!
|
||||||
|
|||||||
Reference in New Issue
Block a user