Use buildah --isolation chroot for container builds
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 40s
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 40s
This commit is contained in:
@@ -19,14 +19,14 @@ jobs:
|
|||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
IMAGE=harbor.scottyah.com/scottyah/blog
|
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
|
- name: Push image
|
||||||
run: |
|
run: |
|
||||||
IMAGE=harbor.scottyah.com/scottyah/blog
|
IMAGE=harbor.scottyah.com/scottyah/blog
|
||||||
buildah login -u "${{ secrets.HARBOR_USERNAME }}" -p "${{ secrets.HARBOR_PASSWORD }}" harbor.scottyah.com
|
buildah login -u "${{ secrets.HARBOR_USERNAME }}" -p "${{ secrets.HARBOR_PASSWORD }}" harbor.scottyah.com
|
||||||
buildah push $IMAGE:${{ github.sha }}
|
buildah --isolation chroot push $IMAGE:${{ github.sha }}
|
||||||
buildah push $IMAGE:latest
|
buildah --isolation chroot push $IMAGE:latest
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user