build-image: fix wrong tag issue
Some checks failed
/ build (push) Failing after 3m28s

This commit is contained in:
thislight 2024-11-28 20:18:26 +08:00
parent c6462f4a62
commit 7349ac5cf7
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ jobs:
build: build:
runs-on: linux-lg runs-on: linux-lg
container: container:
image: code.lightstands.xyz/standcoded/fedora:40 image: code.lightstands.xyz/standcoded/fedora-minimal:40
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View file

@ -12,6 +12,6 @@ for (const arch of arches) {
await $`buildah build --arch ${arch} \ await $`buildah build --arch ${arch} \
--pid=host --ipc=host --network=host --userns=host \ --pid=host --ipc=host --network=host --userns=host \
--uts=host ${pathToDnfCache ? `-v${pathToDnfCache}:/var/cache/dnf:O` : ""} \ --uts=host ${pathToDnfCache ? `-v${pathToDnfCache}:/var/cache/dnf:O` : ""} \
--manifest code.lightstands.xyz/standcoded/${tag} \ --manifest ${tag} \
--volume ${sharedDir}:/imgbuild:z ${dirName}`; --volume ${sharedDir}:/imgbuild:z ${dirName}`;
} }