This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
kind: pipeline
type: docker
name: build
steps:
- name: Build and push Docker image
image: plugins/docker
settings:
# Nom complet de l'image à builder et pousser
repo: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui
# Chemin vers le Dockerfile (à adapter si nécessaire)
dockerfile: Dockerfile
# Tag à appliquer à l'image
tags:
- latest
# Ces variables secrets doivent être définies dans l’interface Drone
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
branch:
- main
event:
- push