Skip to content

Commit

Permalink
fix(CI): copyToPodman
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Feb 24, 2024
1 parent 0d6e10c commit edabd84
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
13 changes: 9 additions & 4 deletions .github/actions/common-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,18 @@ runs:
large-packages: false
tool-cache: false

- uses: DeterminateSystems/nix-installer-action@main
# - uses: DeterminateSystems/nix-installer-action@main
# with:
# extra-conf: |
# accept-flake-config = true
# github_token: ${{ inputs.SECRET_GITHUB_TOKEN }}

- uses: cachix/install-nix-action@v25
with:
extra-conf: |
github_access_token: ${{ inputs.GITHUB_TOKEN }}
extra_nix_config: |
accept-flake-config = true
github_token: ${{ inputs.SECRET_GITHUB_TOKEN }}

- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Install nixci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ jobs:
nix build ./nix/std#x86_64-linux.repo.containers.dev.out
- name: copy oci-image to the register
run: |
# nix run ./nix/std#x86_64-linux.repo.containers.dev.out.copyToRegistry
nix run ./nix/std\#x86_64-linux.repo.containers.dev.out.copyTo -- docker://ghcr.io/hardenedlinux/aisecurity-research-template:latest
nix run ./nix/std#x86_64-linux.repo.containers.dev.out.copyToPodman
# nix run ./nix/std\#x86_64-linux.repo.containers.dev.out.copyTo -- docker://ghcr.io/hardenedlinux/aisecurity-research-template:latest
6 changes: 3 additions & 3 deletions nix/std/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit edabd84

Please sign in to comment.