Skip to content

Commit

Permalink
Unnest artifacts archive in cicd-docker-build-and-distribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rj1k committed Apr 22, 2024
1 parent 6dac43f commit e4d3589
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/cicd-docker-build-and-distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@ jobs:
ARTIFACTS_DIR: ${{ inputs.ARTIFACTS_DIR }}
run: |
tar -czvf ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz -C "${ARTIFACTS_DIR}" $(ls -1 "${ARTIFACTS_DIR}")
sha512sum ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz | tee ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz.sha512
tar -czvf temp_${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz.sha512
rm -v ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz.sha512 && \
mv -v temp_${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz ${{ inputs.TARGET_ARTIFACT_NAME }}.tar.gz
- name: Copy/Exec artifacts/commands to/on remote host
if: ${{ inputs.UPLOAD_BUILD_ARTIFACTS }}
Expand Down

0 comments on commit e4d3589

Please sign in to comment.