Files
afrov2/.gitea/workflows/deploy.yaml
streaper2 dd4b35690c
Some checks failed
Build and Push App / build (push) Failing after 34s
Actualiser .gitea/workflows/deploy.yaml
2026-04-15 20:06:26 +00:00

23 lines
681 B
YAML

name: Build and Push App
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
# FORCE l'image ici pour être sûr d'avoir l'outil Docker
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to Gitea Registry
run: |
echo "${{ secrets.TOKEN }}" | docker login git.home.arrondeau.fr -u ${{ gitea.actor }} --password-stdin
- name: Build and Push Docker Image
run: |
docker build -t git.home.arrondeau.fr/${{ gitea.repository }}:latest .
docker push git.home.arrondeau.fr/${{ gitea.repository }}:latest