change meta
All checks were successful
n-good / Build-Docker-Image (push) Successful in 27s

This commit is contained in:
2025-02-18 18:05:35 -05:00
parent 7142943b71
commit 066eadd347
3 changed files with 37 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
name: n-good
run-name: building n-gon
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/n-gon-improved:latest .
docker push swaous.asuscomm.com/n-gon-improved:latest

12
Dockerfile Normal file
View 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"]

View File

@@ -6,13 +6,13 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Browser-based side scrolling video game with the matter.js physics engine.">
<meta name="author" content="Ross Landgreen">
<meta name="author" content="Ross Landgreen and Tyler Clarke">
<meta property="og:description" content="Browser-based side scrolling video game with the matter.js physics engine.">
<meta property="og:title" content="n-gon">
<meta name="twitter:title" content="n-gon">
<meta property="og:title" content="n-gon improved">
<meta name="twitter:title" content="n-gon improved">
<meta name="twitter:description" content="Browser-based side scrolling video game with the matter.js physics engine.">
<!-- <meta http-equiv="refresh" content="0; url=https://landgreen.github.io/n-gon/"> -->
<title>n-gon</title>
<title>n-gon improved</title>
<link rel="stylesheet" href="style.css">
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon' />
</head>
@@ -313,4 +313,4 @@
<script src="js/index.js"></script>
</body>
</html>
</html>