Skip to content

Commit

Permalink
reverted to --oci-password
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Dec 11, 2024
1 parent 8ce6115 commit 4c1c9d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,19 @@ runs:
run: |
spack -e myenv mirror set --push \
--oci-username ${{ github.actor }} \
--oci-password-variable BUILD_CACHE_TOKEN mochi-buildcache
--oci-password ${{ inputs.build-cache-token }} mochi-buildcache
- name: Push dependency packages to buildcache and update index
if: ${{ (inputs.build-cache-token != 'unspecified') && (inputs.push-only-dependencies == 'true') }}
shell: bash
run: |
BUILD_CACHE_TOKEN=${{ inputs.build-cache-token }} \
spack -e myenv buildcache push --base-image ubuntu:22.04 \
--unsigned --only dependencies --update-index mochi-buildcache
- name: Push dependency packages to buildcache and update index
if: ${{ (inputs.build-cache-token != 'unspecified') && (inputs.push-only-dependencies == 'false') }}
shell: bash
run: |
BUILD_CACHE_TOKEN=${{ inputs.build-cache-token }} \
spack -e myenv buildcache push --base-image ubuntu:22.04 \
--unsigned --update-index mochi-buildcache
Expand Down

0 comments on commit 4c1c9d3

Please sign in to comment.