Difference between revisions of "Uses: 1password/load-secrets-action"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
           DOCKERHUB_USERNAME: op://xxxxxx/USERNAME
 
           DOCKERHUB_USERNAME: op://xxxxxx/USERNAME
 
           DOCKERHUB_TOKEN: op://yyyyyyy/TOKEN
 
           DOCKERHUB_TOKEN: op://yyyyyyy/TOKEN
 +
 +
 +
Error: could not read secret 'op://XXXXX/APIKEY/secret': item 'XXXXX/APIKEY' does not have a field '[[secret]]'
  
 
== See also ==
 
== See also ==

Revision as of 23:37, 23 October 2024

uses: 1password/load-secrets-action
uses: 1password/load-secrets-action@v2
    - name: Load secrets from 1Password
       uses: 1password/load-secrets-action@v2
       with:
         export-env: true
       env:
         OP_TOKEN: ${{ secrets.OP_TOKEN }}
         DOCKERHUB_USERNAME: op://xxxxxx/USERNAME
         DOCKERHUB_TOKEN: op://yyyyyyy/TOKEN


Error: could not read secret 'op://XXXXX/APIKEY/secret': item 'XXXXX/APIKEY' does not have a field 'secret'

See also

Advertising: