Skip to content

Commit eed49ac

Browse files
committed
chore: update nix flake and enforce required env vars
Update nixpkgs to latest revision and require SECURE_URL and SECURE_API_TOKEN env vars via strict_env in .envrc.
1 parent 44adc19 commit eed49ac

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.envrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ has nix && use flake
22
watch_file *.nix
33
dotenv_if_exists .env # You can create a .env file with your env vars for this project. You can also use .secrets if you are using act. See the line below.
44
dotenv_if_exists .secrets # Used by [act](https://nektosact.com/) to load secrets into the pipelines
5+
6+
strict_env
7+
env_vars_required SECURE_URL SECURE_API_TOKEN

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ buildGoModule }:
22
buildGoModule {
33
pname = "harbor-scanner-sysdig-secure";
4-
version = "0.8.3";
5-
vendorHash = "sha256-AsYqOGGrM4M5TYT0ZN7As6L/QbiEO7QobwKUthq1n5g=";
4+
version = "0.8.4";
5+
vendorHash = "sha256-wCvlsCGJjgo/ZJrvlJ/cg5KSnz05fjYi6cwCW/Opn/4=";
66
src = ./.;
77
subPackages = [
88
"cmd/harbor-scanner-sysdig-secure"

0 commit comments

Comments
 (0)