Using new osc cli credentials patch format
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 11s

Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
Alex Lau 2024-01-08 10:18:31 +08:00
parent b855ed884f
commit ef4fb56104
No known key found for this signature in database
GPG Key ID: 3F28752074CC2261

View File

@ -17,11 +17,11 @@ jobs:
with:
osc_user: 'alexlau'
osc_cred: 'osc.credentials.PlaintextConfigFileCredentialsManager'
osc_path: 'home:alexlau:branches:Base:System'
osc_path: 'home:alexlau:branches:openSUSE:Factory'
osc_package: 'bash'
osc_action: 'buildlog'
env: # Or as an environment variable
osc_pass: ${{ secrets.OSCPASS }}
run: |
OSC_USERNAME="$env(INPUT_OSC_USER)" OSC_CREDENTIALS_MGR_CLASS="$env(INPUT_OSC_CRED)" OSC_PASSWORD="$evn(osc_pass)" osc checkout "$env(INPUT_OSC_PATH)" "$env(INPUT_OSC_PACKAGE)"
OSC_CONFIG= OSC_USERNAME="$env(INPUT_OSC_USER)" OSC_CREDENTIALS_MGR_CLASS="$env(INPUT_OSC_CRED)" OSC_PASSWORD="$evn(osc_pass)" osc checkout "$env(INPUT_OSC_PATH)" "$env(INPUT_OSC_PACKAGE)"