Use buildah --isolation chroot for container builds
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 40s

This commit is contained in:
Scott Hatlen
2026-03-09 19:32:45 -07:00
parent 7e6319b7bb
commit e66132a184

View File

@@ -19,14 +19,14 @@ jobs:
- name: Build image
run: |
IMAGE=harbor.scottyah.com/scottyah/blog
buildah bud -t $IMAGE:${{ github.sha }} -t $IMAGE:latest .
buildah --isolation chroot bud -t $IMAGE:${{ github.sha }} -t $IMAGE:latest .
- name: Push image
run: |
IMAGE=harbor.scottyah.com/scottyah/blog
buildah login -u "${{ secrets.HARBOR_USERNAME }}" -p "${{ secrets.HARBOR_PASSWORD }}" harbor.scottyah.com
buildah push $IMAGE:${{ github.sha }}
buildah push $IMAGE:latest
buildah --isolation chroot push $IMAGE:${{ github.sha }}
buildah --isolation chroot push $IMAGE:latest
- name: Deploy
run: |