fix: use buildah to build
Build, Push, and Deploy / build (push) Failing after 40s
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Build, Push, and Deploy / deploy (push) Failing after 1s

This commit is contained in:
Greg Hellings
2026-08-04 09:00:22 -05:00
parent 044a1d8c1e
commit 8f94777c67
+4 -20
View File
@@ -21,30 +21,14 @@ jobs:
nix --extra-experimental-features nix-command --extra-experimental-features flakes build . nix --extra-experimental-features nix-command --extra-experimental-features flakes build .
cp -L result result.tar.gz cp -L result result.tar.gz
- name: Upload image artifact
uses: actions/upload-artifact@v3
with:
name: image
path: result.tar.gz
retention-days: 7
push:
runs-on: bare-metal
needs: build
steps:
- name: Download image artifact
uses: actions/download-artifact@v3
with:
name: image
- name: Log in to Gitea container registry - name: Log in to Gitea container registry
run: podman login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ env.REGISTRY }} run: buildah login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ env.REGISTRY }}
- name: Push image - name: Push image
run: | run: |
podman load -i result.tar.gz buildah load -i result.tar.gz
podman tag "localhost/gregs-homepage:latest" ${{ env.IMAGE }} buildah tag "localhost/gregs-homepage:latest" ${{ env.IMAGE }}
podman push ${{ env.IMAGE }} buildah push ${{ env.IMAGE }}
deploy: deploy:
runs-on: blog runs-on: blog