Skip to content

Commit 230c525

Browse files
committed
fix artifact uploader
1 parent 083f86a commit 230c525

File tree

8 files changed

+10
-3
lines changed

8 files changed

+10
-3
lines changed

.editorconfig

100755100644
File mode changed.

.github/CONTRIBUTING.md

100755100644
File mode changed.

.github/FUNDING.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/config.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.bug.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.feature.yml

100755100644
File mode changed.

.github/workflows/publish_binaries.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
publish-binaries:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Set up QEMU
13+
uses: docker/setup-qemu-action@v3
14+
1215
- name: Retrieve and upload artifacts
1316
run: |
1417
mkdir -p ./artifacts/amd64 ./artifacts/arm64
@@ -22,7 +25,7 @@ jobs:
2225
-H "Content-Type: application/octet-stream" \
2326
"https://uploads.github.com/repos/linuxserver/docker-python/releases/${{ github.event.release.id }}/assets?name=python-amd64.tar.gz" \
2427
--data-binary "@python-amd64.tar.gz"
25-
docker create --name arm64 ghcr.io/linuxserver/python:arm64v8-${{ github.event.release.tag_name }} blah
28+
docker create --name arm64 --platfrom=linux/arm64 ghcr.io/linuxserver/python:arm64v8-${{ github.event.release.tag_name }} blah
2629
docker cp arm64:/usr/local/. ./artifacts/arm64/
2730
tar -czvf python-arm64.tar.gz -C ./artifacts/arm64/ .
2831
echo "**** Uploading arm64 tarball ****"

Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ pipeline {
7070
fi
7171
done
7272
fi
73-
docker system prune -f --volumes || : '''
73+
docker system prune -f --volumes || :
74+
docker image prune -af || :
75+
'''
7476
script{
7577
env.EXIT_STATUS = ''
7678
env.LS_RELEASE = sh(
@@ -687,7 +689,8 @@ pipeline {
687689
if [[ -n "${containers}" ]]; then
688690
docker stop ${containers}
689691
fi
690-
docker system prune -af --volumes || :
692+
docker system prune -f --volumes || :
693+
docker image prune -af || :
691694
'''
692695
}
693696
}
@@ -1034,6 +1037,7 @@ EOF
10341037
done
10351038
fi
10361039
docker system prune -f --volumes || :
1040+
docker image prune -af || :
10371041
'''
10381042
cleanWs()
10391043
}

0 commit comments

Comments
 (0)