From d505c4e65f63f87444faac53e36ee6a446efdfeb Mon Sep 17 00:00:00 2001 From: Job79 Date: Mon, 29 Dec 2025 11:48:35 +0100 Subject: [PATCH] test --- .gitea/workflows/build.yaml | 6 ++---- containers/fedora/Containerfile | 3 +-- containers/infra/Containerfile | 3 +-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 311bea9..08ba1f4 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -49,7 +49,6 @@ jobs: tags: ${{ github.ref_name }} context: ./containers/fedora containerfiles: ./containers/fedora/Containerfile - oci: true - name: Push uses: redhat-actions/push-to-registry@v2 with: @@ -59,7 +58,7 @@ jobs: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_TOKEN }} extra-args: | - --compression-format=zstd:chunked + --compression-format=zstd --compression-level=12 dependent-images: @@ -97,7 +96,6 @@ jobs: context: ./containers/${{ matrix.container }} containerfiles: ./containers/${{ matrix.container }}/Containerfile build-args: TAG=${{ github.ref_name }} - oci: true - name: Push if: steps.check.outputs.run == 'true' uses: redhat-actions/push-to-registry@v2 @@ -108,5 +106,5 @@ jobs: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_TOKEN }} extra-args: | - --compression-format=zstd:chunked + --compression-format=zstd --compression-level=12 diff --git a/containers/fedora/Containerfile b/containers/fedora/Containerfile index 38ebca9..2b78b15 100644 --- a/containers/fedora/Containerfile +++ b/containers/fedora/Containerfile @@ -10,8 +10,7 @@ RUN dnf update -y && \ # === setup user === RUN useradd -ms /bin/bash user && \ - echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers && \ - mkdir -p /run/user/1000 && chown user:user /run/user/1000 + echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers USER user WORKDIR /home/user diff --git a/containers/infra/Containerfile b/containers/infra/Containerfile index 810f10e..0aad236 100644 --- a/containers/infra/Containerfile +++ b/containers/infra/Containerfile @@ -5,7 +5,6 @@ USER root RUN dnf -y install kubectl k9s openssl age "$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | jq -r '.assets[] | select(.name | test("sops-.*.x86_64.rpm$")) | .browser_download_url')" && \ dnf clean all && \ curl -sL https://talos.dev/install | sh && \ - curl -s https://fluxcd.io/install.sh | bash && \ - chmod 755 /run + curl -s https://fluxcd.io/install.sh | bash USER user