Files
Inventory/.gitea/workflows/build-docker.yml
Matthieu 73b2cf300d
All checks were successful
Build & Push Docker Image / build (push) Successful in 1m4s
refactor : rename Inventory_frontend to frontend everywhere
Update Dockerfile, nginx, .dockerignore, makefile, CI workflow,
CLAUDE.md, README, release script to use frontend/ instead of
Inventory_frontend/. Remove submodule references from CI and
release script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 14:19:20 +02:00

31 lines
821 B
YAML

name: Build & Push Docker Image
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
run: |
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login gitea.malio.fr -u "${{ gitea.repository_owner }}" --password-stdin
- name: Build Docker image
run: |
docker build \
-f deploy/docker/Dockerfile.prod \
-t gitea.malio.fr/malio-dev/inventory:${{ gitea.ref_name }} \
-t gitea.malio.fr/malio-dev/inventory:latest \
.
- name: Push Docker image
run: |
docker push gitea.malio.fr/malio-dev/inventory:${{ gitea.ref_name }}
docker push gitea.malio.fr/malio-dev/inventory:latest