ci: fix format

This commit is contained in:
thislight 2024-07-13 19:35:20 +08:00
parent 7ccafbd5d1
commit c4ce9e8351
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E

View file

@ -16,20 +16,20 @@ jobs:
runs-on: linux-lg runs-on: linux-lg
container: container:
image: fedora:40 image: fedora:40
steps: steps:
- name: Install Tools - name: Install Tools
run: 'dnf install -y --setopt install_weak_deps=False buildah qemu-user-static' run: 'dnf install -y --setopt install_weak_deps=False buildah qemu-user-static'
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build Images - name: Build Images
run: | run: |
cd fedora:40 && \ cd fedora:40 && \
buildah manifest create code.lightstands.xyz/standcoded/fedora:40 && \ buildah manifest create code.lightstands.xyz/standcoded/fedora:40 && \
buildah build --arch amd64 --manifest code.lightstands.xyz/standcoded/fedora:40 . && \ buildah build --arch amd64 --manifest code.lightstands.xyz/standcoded/fedora:40 . && \
buildah build --arch aarch64 --manifest code.lightstands.xyz/standcoded/fedora:40 . buildah build --arch aarch64 --manifest code.lightstands.xyz/standcoded/fedora:40 .
- name: Push Images - name: Push Images
run: | run: |
buildah login code.lightstands.xyz \ buildah login code.lightstands.xyz \
--username ${{ env.GITHUB_ACTOR }} --password ${{ env.GITHUB_TOKEN }} --username ${{ env.GITHUB_ACTOR }} --password ${{ env.GITHUB_TOKEN }}
buildah manifest push code.lightstands.xyz/standcoded/fedora:40 --all buildah manifest push code.lightstands.xyz/standcoded/fedora:40 --all