21 lines
717 B
YAML
21 lines
717 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Podman Login
|
|
run: |
|
|
echo "${{ secrets.DOCKER_PASSWORD }}" | podman login git.interhacker.space --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
|
|
|
- name: Build and Push Container Image
|
|
run: |
|
|
trap 'rm -f dist.zip' EXIT
|
|
wget -q -O dist.zip https://git.interhacker.space/epickiwi/2026.camp.carte/releases/download/latest/dist.zip
|
|
podman build -t git.interhacker.space/interhack/camp-website-2026:latest .
|
|
podman push git.interhacker.space/interhack/camp-website-2026:latest
|