diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..3c80f2e --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -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