name: OSC Pull Custom Image Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: push: branches: [ factory ] jobs: osc_job: runs-on: osc_patch_label name: opensuse osc custom container checkout test steps: - name: Checkout the repo code uses: actions/checkout@v3 - name: List all files in the repo run: | /usr/bin/ls ${{ gitea.workspace }} - name: Using OBS checkout with: osc_user: 'alexlau' osc_cred: 'osc.credentials.PlaintextConfigFileCredentialsManager' 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_CONFIG= OSC_USERNAME="$env(INPUT_OSC_USER)" OSC_CREDENTIALS_MGR_CLASS="$env(INPUT_OSC_CRED)" OSC_PASSWORD="$env(osc_pass)" osc checkout $INPUT_OSC_PATH $INPUT_OSC_PACKAGE