Обновить action.yaml
This commit is contained in:
parent
e07470e5ad
commit
4e4131a38e
@ -37,7 +37,7 @@ runs:
|
||||
github-server-url: ${{ gitea.server_url }}
|
||||
- name: Get test for image
|
||||
run: |
|
||||
if test -f gitea-image-forge/org/$ORG/$IM/test; then testscript=$(cat ${{ gitea.workspace }}/org/$ORG/$IM/test); else testscript=""; fi
|
||||
if test -f gitea-image-forge/org/$ORG/$IM/test; then testscript=$(cat gitea-image-forge/org/$ORG/$IM/test); else testscript=""; fi
|
||||
echo "TEST=$testscript" >> ${GITHUB_ENV}
|
||||
echo "test script: $testscript"
|
||||
if [[ $ORG == 'k8s' ]]; then echo "IMAGEPATH=$ORG-$BR/$IM" >> ${GITHUB_ENV}; else echo "IMAGEPATH=$ORG/$IM:${{ inputs.branch }}" >> ${GITHUB_ENV}; fi
|
||||
|
Loading…
Reference in New Issue
Block a user