Files
buildpath/.gitea/workflows/pipeline.yaml
Valentin Haudiquet 5b844bd207
All checks were successful
pipeline / build-and-push-images (push) Successful in 4m8s
ci: removed deploy job
Deploying is now part of the standard homeprod infrastructure :)
2025-12-05 23:44:06 +01:00

50 lines
1.5 KiB
YAML

name: pipeline
on:
push:
branches:
- "main"
permissions:
packages: write
jobs:
build-and-push-images:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: https://gitea.com/actions/checkout@v4
- name: Log in to container registry
uses: docker/login-action@v3
with:
registry: https://git.vhaudiquet.fr
username: ${{ github.actor }}
password: ${{ secrets.PACKAGES_TOKEN }}
- name: Build and push frontend docker image
uses: docker/build-push-action@v6
with:
context: ./frontend
push: true
tags: |
git.vhaudiquet.fr/vhaudiquet/lolstats-frontend:latest
git.vhaudiquet.fr/vhaudiquet/lolstats-frontend:${{ github.sha }}
- name: Build and push patch_detector docker image
uses: docker/build-push-action@v6
with:
context: ./patch_detector
push: true
tags: |
git.vhaudiquet.fr/vhaudiquet/lolstats-patch_detector:latest
git.vhaudiquet.fr/vhaudiquet/lolstats-patch_detector:${{ github.sha }}
- name: Build and push match_collector docker image
uses: docker/build-push-action@v6
with:
context: ./match_collector
push: true
tags: |
git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:latest
git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:${{ github.sha }}