Skip to content

Commit

Permalink
fix(actions): use s3-compatibility HMAC keys and disable nixcached
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
  • Loading branch information
cameronraysmith committed Jul 2, 2024
1 parent c12cadc commit 5ef2162
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/actions/build_nix_image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ inputs:
gacd:
description: "Google Application Credentials Data"
required: false
gcsHmacAccessID:
description: "Google Cloud Storage HMAC Access ID"
required: false
gcsHmacSecretAccessKey:
description: "Google Cloud Storage HMAC Secret Access Key"
required: false
cachixCacheName:
description: "Name of the Cachix cache"
required: false
Expand Down Expand Up @@ -81,8 +87,10 @@ runs:
with:
substituters: "${{ inputs.nixSubstituterName }}"
secret_keys: "${{ inputs.nixPrivateKey }}"
use_nixcached: true
nixcached_upload_options: --jobs 8 --debug
aws_access_key_id: "${{ inputs.gcsHmacAccessID }}"
aws_secret_access_key: "${{ inputs.gcsHmacSecretAccessKey }}"
use_nixcached: false
# nixcached_upload_options: --jobs 8 --debug

- name: Set GitHub CI Slug Variables
uses: rlespinasse/github-slug-action@797d68864753cbceedc271349d402da4590e6302 # ratchet:rlespinasse/github-slug-action@v4
Expand Down

0 comments on commit 5ef2162

Please sign in to comment.