0878405e9d
Build and Push Docker Image / build-and-push (push) Failing after 10s
Implemented a Blazor Web App (.NET 8) for a public-by-link birth registry platform, following project guidelines. Added domain entities, EF Core context, and Blazor components for authentication, registry management, and public views. Introduced core services for registries, theming, user context, platform owner bootstrapping, and SMTP email. Included static assets (Bootstrap, favicon), launch settings, Dockerfile, CI workflow, and deployment configs. Added bootstrap.min.css.map for improved CSS debugging.
37 lines
916 B
YAML
37 lines
916 B
YAML
name: Build and Push Docker Image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: catthehacker/ubuntu:act-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Generate datetime tag
|
|
id: vars
|
|
run: echo "tag=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
|
|
|
- name: Log in to Gitea Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.arnemoerman.be
|
|
username: arne
|
|
password: ${{ secrets.PAT_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: ./src/BirthList.Web
|
|
file: ./src/BirthList.Web/Dockerfile
|
|
push: true
|
|
tags: |
|
|
git.arnemoerman.be/arne/birthlist:latest
|
|
git.arnemoerman.be/arne/birthlist:${{ steps.vars.outputs.tag }}
|