Skip to content

Commit bb1004b

Browse files
committed
Build the package without devShell
1 parent 4ad0ce1 commit bb1004b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build_containers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1616
GITHUB_USERNAME: ${{ github.actor }}
1717
GITHUB_REPOSITORY: ${{ github.repository }}
18-
run: nix develop --command build-image.sh
18+
run: ./tooling/bin/build-image.sh

tooling/bin/build-image.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
PATH="$(nix build .#pkgs.skopeo --no-link --print-out-paths)/bin:$PATH"
23
echo "$GITHUB_TOKEN" | skopeo login ghcr.io --username "$GITHUB_USERNAME" --password-stdin
34
result=$(nix build .#snapbin-image --no-link --print-out-paths)
45
# ${variabe,,} converts a string to lowercase

0 commit comments

Comments
 (0)