fix(ci): don't run on docker Revert "fix(ci): don't run on docker" This reverts commit3e833a5960. 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 commita7a86ff25a.
This commit is contained in:
parent
a4fc96fdeb
commit
d8edb61bbf
1 changed files with 24 additions and 0 deletions
24
.forgejo/workflows/build.yaml
Normal file
24
.forgejo/workflows/build.yaml
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue