Ajout d'un fichier d'action pour CI pour générer l'image docker du site web automatiquement #32

Merged
lucaskev merged 3 commits from feat/ci-build into main 2026-03-24 18:29:19 +00:00
Showing only changes of commit d8edb61bbf - Show all commits

View file

@ -0,0 +1,24 @@
on: [push]
jobs:
build:
runs-on: docker
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Podman
run: |
apt-get update
apt-get install -y podman
- name: Podman Login
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | podman login git.interhacker.space --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Build Container Image
run: |
podman build -t git.interhacker.space/interhack/camp-website-2026:latest .
- name: Push Container Image
run: |
podman push git.interhacker.space/interhack/camp-website-2026:latest