ci: test changes
Some checks failed
Build containers / Build and push image (asahi-cosmic, 43) (push) Failing after 5m34s
Some checks failed
Build containers / Build and push image (asahi-cosmic, 43) (push) Failing after 5m34s
This commit is contained in:
@@ -31,35 +31,27 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Log in
|
||||
uses: redhat-actions/podman-login@v1
|
||||
with:
|
||||
registry: git.plabble.org
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
auth_file_path: /tmp/auth.json
|
||||
|
||||
- name: Build rootfs
|
||||
run: |
|
||||
sudo ./builder.sh asahi-cosmic 43
|
||||
|
||||
- name: Build container
|
||||
id: build
|
||||
uses: job79/buildah-build@65b3793a1370c1ccd74a5c0d090d70eb9637a4ef
|
||||
with:
|
||||
image: misthios/${{ matrix.image }}
|
||||
tags: ${{ matrix.version }}
|
||||
containerfiles: ./Containerfile
|
||||
build-args: IMAGE=${{ matrix.image }}
|
||||
run: |
|
||||
buildah bud \
|
||||
--security-opt label=disable \
|
||||
--isolation=chroot \
|
||||
--cap-add=SYS_ADMIN \
|
||||
-t misthios/${{ matrix.image }}:${{ matrix.version }} \
|
||||
--build-arg IMAGE=${{ matrix.image }} \
|
||||
-f Containerfile .
|
||||
|
||||
- name: Push
|
||||
uses: redhat-actions/push-to-registry@v2
|
||||
with:
|
||||
image: ${{ steps.build.outputs.image }}
|
||||
tags: ${{ steps.build.outputs.tags }}
|
||||
registry: git.plabble.org
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
extra-args: |
|
||||
--compression-format=zstd
|
||||
--compression-level=12
|
||||
run: |
|
||||
buildah push \
|
||||
misthios/${{ matrix.image }}:${{ matrix.version }} \
|
||||
docker://git.plabble.org/misthios/${{ matrix.image }}:${{ matrix.version }} \
|
||||
--creds "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_TOKEN }}" \
|
||||
--compression-format=zstd \
|
||||
--compression-level=12
|
||||
|
||||
|
||||
Reference in New Issue
Block a user