fix: remove NixOS setup and streamline buildah and podman installation
Some checks failed
Build and push / build_and_push (map[name:pyweb path:pyweb]) (push) Failing after 4s
Build and push / build_and_push (map[name:shellcheck path:shellcheck]) (push) Has been cancelled
Build and push / build_and_push (map[name:vaultwarden-backup path:vaultwarden-backup]) (push) Has been cancelled
Build and push / check and test (push) Successful in 7s
Build and push / build_and_push (map[name:metabase path:metabase]) (push) Failing after 4s
Build and push / build_and_push (map[name:postgres-backup path:postgres-backup]) (push) Failing after 4s
Some checks failed
Build and push / build_and_push (map[name:pyweb path:pyweb]) (push) Failing after 4s
Build and push / build_and_push (map[name:shellcheck path:shellcheck]) (push) Has been cancelled
Build and push / build_and_push (map[name:vaultwarden-backup path:vaultwarden-backup]) (push) Has been cancelled
Build and push / check and test (push) Successful in 7s
Build and push / build_and_push (map[name:metabase path:metabase]) (push) Failing after 4s
Build and push / build_and_push (map[name:postgres-backup path:postgres-backup]) (push) Failing after 4s
Signed-off-by: Uwe Hermann <uh@uleenucks.de>
This commit is contained in:
@@ -20,8 +20,7 @@ jobs:
|
||||
buildpush:
|
||||
name: build_and_push
|
||||
needs: [test_shellcheck]
|
||||
#runs-on: [self-hosted, nixos] # For NixOS runners
|
||||
runs-on: ubuntu-latest # For Ubuntu runners
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
image:
|
||||
@@ -38,15 +37,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup NixOS environment
|
||||
- name: Install buildah and podman
|
||||
run: |
|
||||
# Ensure buildah and podman are available
|
||||
export PATH="/run/wrappers/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:$PATH"
|
||||
echo "PATH=$PATH" >> $GITHUB_ENV
|
||||
|
||||
# Verify tools are available
|
||||
which buildah || echo "buildah not found in PATH"
|
||||
which podman || echo "podman not found in PATH"
|
||||
apk update
|
||||
apk add --no-cache buildah podman
|
||||
|
||||
- name: Build ${{ matrix.image.name }} image
|
||||
id: build
|
||||
|
||||
Reference in New Issue
Block a user