Ajout d'un fichier d'action pour CI
Some checks failed
/ build (push) Failing after 2m58s

fix(ci): don't run on docker

Revert "fix(ci): don't run on docker"

This reverts commit 3e833a5960.

fix(ci): use podman

fix(ci): podman username opt

fix(ci): podman, defaulting on not stdin password

Revert "fix(ci): podman, defaulting on not stdin password"

This reverts commit a7a86ff25a.
This commit is contained in:
nono-lqdn 2026-01-26 14:35:10 +01:00 committed by Hadrien
parent a4fc96fdeb
commit d8edb61bbf

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