Archived
1
0
This repository has been archived on 2025-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
404-page/.gitea/workflows/build.yaml
Niklas Amundsson c5a3347e34
All checks were successful
404 page build / page-build (push) Successful in 55s
add dockerfile and gitea workflow
2025-02-21 20:45:50 +01:00

28 lines
668 B
YAML

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