wip
Some checks failed
CI / build (push) Failing after 2s
CI / bump-infra (push) Has been skipped

This commit is contained in:
Philip Peterson 2026-06-11 22:36:08 -07:00
parent c875eae064
commit 6cc5e06251

View file

@ -14,33 +14,18 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Docker from static binary - name: Install Podman
run: | run: sudo apt-get update -qq && sudo apt-get install -y podman
curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-27.5.1.tgz \
| tar -xz -C /tmp
echo "/tmp/docker" >> "$GITHUB_PATH"
- name: Start Docker daemon
run: |
mkdir -p /tmp/docker-data /tmp/docker-run
nohup /tmp/docker/dockerd \
--host=unix:///tmp/docker-run/docker.sock \
--data-root=/tmp/docker-data \
&>/tmp/dockerd.log &
echo "DOCKER_HOST=unix:///tmp/docker-run/docker.sock" >> "$GITHUB_ENV"
until /tmp/docker/docker --host=unix:///tmp/docker-run/docker.sock info >/dev/null 2>&1; do
sleep 1
done
- name: Log in to registry - name: Log in to registry
run: | run: |
echo "${{ secrets.FORGE_TOKEN }}" \ echo "${{ secrets.FORGE_TOKEN }}" \
| docker login "$REGISTRY" -u "${{ secrets.FORGE_USER }}" --password-stdin | podman login "$REGISTRY" -u "${{ secrets.FORGE_USER }}" --password-stdin
- name: Build and push - name: Build and push
run: | run: |
docker build -t "$IMAGE:${{ github.sha }}" . podman build -t "$IMAGE:${{ github.sha }}" .
docker push "$IMAGE:${{ github.sha }}" podman push "$IMAGE:${{ github.sha }}"
bump-infra: bump-infra:
needs: build needs: build