add packistry as auth
This commit is contained in:
parent
0f08cb1951
commit
609b27a899
@ -10,6 +10,10 @@ inputs:
|
|||||||
description: 'file to hash for cache key'
|
description: 'file to hash for cache key'
|
||||||
required: false
|
required: false
|
||||||
default: '**/composer.lock'
|
default: '**/composer.lock'
|
||||||
|
token:
|
||||||
|
description: 'Packistry deploy token'
|
||||||
|
required: false
|
||||||
|
default: ${{ vars.PACKISTRY_DEPLOY_TOKEN }}
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
@ -18,7 +22,7 @@ runs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Auth registry
|
- name: Auth registry
|
||||||
run: composer config --global http-basic.git.qlic.nl ${{ vars.REGISTRY_USERNAME }} ${{ vars.REGISTRY_PASSWORD }}
|
run: composer config --global bearer.packistry.qlic.nl ${{ inputs.token }}
|
||||||
|
|
||||||
- name: Get Composer Cache Directory
|
- name: Get Composer Cache Directory
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user