diff --git a/action.yml b/action.yml
index 3eb423b..47bd790 100644
--- a/action.yml
+++ b/action.yml
@@ -100,8 +100,8 @@ runs:
       shell: spack-bash {0}
       run: |
         if [ "${{ inputs.use-build-cache }}" == true ]; then
-          spack mirror add spack-build-cache oci://ghcr.io/AlexanderRichert-NOAA/spack-build-cache
-          spack mirror set --oci-username ${{ github.actor }} --oci-password "${{ inputs.cache-secret }}" spack-build-cache
+          spack mirror add spack-build-cache oci://ghcr.io/${{ github.repository_owner }}/spack-build-cache
+          spack mirror set --oci-username ${{ github.repository_owner }} --oci-password "${{ inputs.cache-secret }}" spack-build-cache
         fi
         spack env create test
         spack env activate test