ci: test changes
All checks were successful
Build containers / Build and push image (asahi-cosmic, 43) (push) Successful in 8m46s
All checks were successful
Build containers / Build and push image (asahi-cosmic, 43) (push) Successful in 8m46s
This commit is contained in:
@@ -28,6 +28,10 @@ jobs:
|
|||||||
mkdir -p ~/.docker
|
mkdir -p ~/.docker
|
||||||
|
|
||||||
|
|
||||||
|
- name: Fixup containers/storage.conf
|
||||||
|
run: |
|
||||||
|
sed -i 's/driver = "overlay"/driver = "vfs"/' /usr/share/containers/storage.conf
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -44,19 +48,20 @@ jobs:
|
|||||||
sudo ./builder.sh asahi-cosmic 43
|
sudo ./builder.sh asahi-cosmic 43
|
||||||
|
|
||||||
- name: Build container
|
- name: Build container
|
||||||
id: build
|
run: |
|
||||||
uses: job79/buildah-build@65b3793a1370c1ccd74a5c0d090d70eb9637a4ef
|
buildah bud \
|
||||||
with:
|
--security-opt label=disable \
|
||||||
image: misthios/${{ matrix.image }}
|
--isolation=chroot \
|
||||||
tags: ${{ matrix.version }}
|
--cap-add=SYS_ADMIN \
|
||||||
containerfiles: ./Containerfile
|
-t misthios/${{ matrix.image }}:${{ matrix.version }} \
|
||||||
build-args: IMAGE=${{ matrix.image }}
|
--build-arg IMAGE=${{ matrix.image }} \
|
||||||
|
-f Containerfile .
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
uses: redhat-actions/push-to-registry@v2
|
uses: redhat-actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ steps.build.outputs.image }}
|
image: misthios/${{ matrix.image }}
|
||||||
tags: ${{ steps.build.outputs.tags }}
|
tags: ${{ matrix.version }}
|
||||||
registry: git.plabble.org
|
registry: git.plabble.org
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user