Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
stebo85 committed Jun 23, 2024
1 parent d52305a commit f09f89e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ jobs:
- name: Set image variables
id: IMAGEVARS
run: |
echo "finding zip file for $APPLICATION:"
DOCKERFILE=`$(find ./recipes/$APPLICATION/ -type f -iname "*.zip" | head -1)`
echo "DOCKERFILE: $DOCKERFILE"
IMAGENAME=$(echo $(basename $DOCKERFILE .zip))
echo "IMAGENAME: $IMAGENAME"
echo "IMAGENAME_TEST=${IMAGENAME//_/ }" >> $GITHUB_ENV
echo "IMAGENAME=$IMAGENAME" >> $GITHUB_ENV
- name : Upload zip file
run: /bin/bash .github/workflows/upload-zip.sh $IMAGENAME
3 changes: 3 additions & 0 deletions recipes/defacing/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def validateJson(jsonFilePath, schemaFilePath):
output = subprocess.check_output([zipExe, 'a', '-tzip', '-mm=Deflate', baseFilename + '.zip', baseFilename + '.tar', baseFilename + '.pdf'], stderr=subprocess.STDOUT)
print('Zip packaging output:\n' + output.decode('utf-8'))

# print('Cleaning up:', baseFilename + '.tar', '...')
# output = subprocess.check_output(['rm', baseFilename + '.tar'], stderr=subprocess.STDOUT)

# print('Moving file to archive storage:', baseFilename + '.zip', '...')
# output = subprocess.check_output(['mv', baseFilename + '.zip', '/storage/openrecon/' + baseFilename + '.zip'], stderr=subprocess.STDOUT)
# print('moved file to /storage/openrecon')
Expand Down

0 comments on commit f09f89e

Please sign in to comment.