add git action workflow: build image, push to image registry

This commit is contained in:
nicholas
2025-06-14 21:18:28 -05:00
parent a05456f57f
commit a76fb5a821
13 changed files with 44 additions and 27 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
COPY site/ /usr/share/nginx/html/
EXPOSE 80
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

+107
View File
@@ -0,0 +1,107 @@
* {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
width: 100%;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: white;
}
body {
background-color: #252627;
}
.main {
box-sizing: border-box;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-left: 1rem;
padding-right: 1rem;
padding-top: 4rem;
padding-bottom: 2rem;
}
.profile-container {
max-width: 580px;
width: 100%;
height: 100%;
margin-left: auto;
margin-right: auto;
}
.info {
display: flex;
flex-direction: column;
align-items: center;
}
.profile-picture-container {
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1rem;
border-radius: 50%;
width: 96px;
height: 96px;
}
.profile-picture {
object-fit: cover;
width: 100%;
height: auto;
}
.profile-title {
font-weight: 100;
}
.profile-description h2 {
font-weight: lighter;
}
.links {
color: #a9a9b3;
align-items: center;
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-top: 2rem;
list-style: none;
}
.link {
background-color: #292a2d;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
color: black;
min-height: 64px;
padding-right: 44px;
padding-left: 44px;
color: inherit;
text-decoration: none;
border: 2px solid #a9a9b3;
box-shadow: 10px 10px 0 rgb(0, 0, 0);
transition: transform 0.075s ease-in-out, box-shadow 0.075s ease-in-out;
}
.link:hover,
.link:focus {
color: white;
background-color: rgba(0, 0, 0, 0.5);
transform: translateY(2px);
box-shadow: 8px 8px 0 rgb(0, 0, 0);
border-color: white;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="66.667" height="57.143"><svg width="66.667" height="57.143" viewBox="0 0 66.667 57.143" xmlns="http://www.w3.org/2000/svg"><g id="SvgjsG1065" stroke-linecap="round" fill-rule="evenodd" font-size="9pt" stroke="#000" stroke-width="0.25mm" fill="#000" style="stroke:#000;stroke-width:0.25mm;fill:#000"><path d="M 4.762 33.333 L 4.762 28.571 L 14.286 28.571 L 14.286 23.81 L 4.762 23.81 L 4.762 19.048 L 14.286 19.048 L 14.286 9.524 L 0 9.524 L 0 4.762 L 4.762 4.762 L 4.762 0 L 19.048 0 L 19.048 4.762 L 23.81 4.762 L 23.81 0 L 38.095 0 L 38.095 4.762 L 47.619 4.762 L 47.619 0 L 57.143 0 L 57.143 4.762 L 61.905 4.762 L 61.905 47.619 L 57.143 47.619 L 57.143 52.381 L 47.619 52.381 L 47.619 57.143 L 38.095 57.143 L 38.095 52.381 L 33.333 52.381 L 33.333 47.619 L 28.571 47.619 L 28.571 42.857 L 33.333 42.857 L 33.333 9.524 L 23.81 9.524 L 23.81 42.857 L 14.286 42.857 L 14.286 33.333 L 4.762 33.333 Z M 42.857 9.524 L 42.857 47.619 L 52.381 47.619 L 52.381 9.524 L 42.857 9.524 Z M 28.571 47.619 L 14.286 47.619 L 14.286 42.857 L 9.524 42.857 L 9.524 47.619 L 4.762 47.619 L 4.762 52.381 L 14.286 52.381 L 14.286 57.143 L 23.81 57.143 L 23.81 52.381 L 28.571 52.381 L 28.571 47.619 Z M 61.905 4.762 L 61.905 0 L 66.667 0 L 66.667 4.762 L 61.905 4.762 Z M 4.762 52.381 L 0 52.381 L 0 57.143 L 4.762 57.143 L 4.762 52.381 Z" vector-effect="non-scaling-stroke"></path></g></svg><style>@media (prefers-color-scheme: light) { :root { filter: none; } }
@media (prefers-color-scheme: dark) { :root { filter: invert(100%); } }
</style></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

+45
View File
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="uuard" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="icon" type="image/png" href="favicon.png" />
<title>Nicholas Ward</title>
</head>
<body>
<div class="main">
<div class="profile-container">
<div class="info">
<div class="profile-picture-container">
<img class="profile-picture" src="assets/images/profile-image-ghibli.png" />
</div>
<div class="profile-title">
<h1>Nicholas Ward</h1>
</div>
<div class="profile-description">
<h2>Software Developer, et cetera</h2>
</div>
</div>
<div class="links">
<a class="link" href="https://log.nicholas.uuard.com" target="_blank">Web Log</a>
<a class="link" href="https://git.uuard.com/nicholas" target="_blank">Git Repository</a>
<a class="link" href="#">Résumé</a>
<a class="link" href="#">Projects</a>
</div>
</div>
</div>
</body>
</html>
+21
View File
@@ -0,0 +1,21 @@
{
"name": "uuard",
"short_name": "w",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB