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
|
||||
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: |
|
||||
|
||||
Reference in New Issue
Block a user