.gitea/workflows/redhat_build.yml aktualisiert
This commit is contained in:
@@ -152,32 +152,6 @@ jobs:
|
||||
# tar=true ist absichtlich explizit gesetzt.
|
||||
outputs: type=oci,dest=${{ github.workspace }}/oci-layout.tar,tar=true
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Verify OCI archive
|
||||
# ------------------------------------------------------------
|
||||
|
||||
- name: Verify OCI archive
|
||||
if: github.event_name != 'pull_request'
|
||||
run: |
|
||||
set -e
|
||||
|
||||
OCI_ARCHIVE="${{ github.workspace }}/oci-layout.tar"
|
||||
|
||||
echo "Checking OCI archive..."
|
||||
|
||||
if [ ! -f "$OCI_ARCHIVE" ]; then
|
||||
echo "ERROR: OCI archive is not a regular file!"
|
||||
ls -lah "${{ github.workspace }}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "OCI archive:"
|
||||
ls -lh "$OCI_ARCHIVE"
|
||||
|
||||
echo
|
||||
echo "Archive contents:"
|
||||
tar -tf "$OCI_ARCHIVE" | head -30
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Push using Skopeo
|
||||
# ------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user