Archived
1
0

add dockerfile and gitea workflow
All checks were successful
404 page build / page-build (push) Successful in 55s

This commit is contained in:
2025-02-21 20:45:50 +01:00
parent 32ab36f388
commit c5a3347e34
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,28 @@
name: 404 page build
on:
push:
branches:
- develop
jobs:
page-build:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login to registry
uses: docker/login-action@v1
with:
registry: gitea.amundsson.eu
username: namundsson@gmail.com
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push Docker image
run: |
docker build -t gitea.amundsson.eu/n1jos/404-page:latest .
docker push gitea.amundsson.eu/n1jos/404-page:latest

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nginx:latest
COPY src /usr/share/nginx/html
EXPOSE 80