Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildx: release s390x and ppc64le + release v1.1.1 #208

Merged
merged 3 commits into from
Jun 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 32 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@ jobs:
./buildx create --name cross --platform=amd64,arm,arm64,s390x,ppc64le --use
./buildx inspect --bootstrap
- name: "Build binaries from Dockerfile.artifact"
run: ./buildx build -o /tmp --platform=amd64,arm64,arm -f Dockerfile.artifact .
run: ./buildx build -o /tmp --platform=amd64,arm64,arm,s390x,ppc64le -f Dockerfile.artifact .
- name: "Create /tmp/artifact"
run: |
mkdir -p /tmp/artifact
mv /tmp/linux_amd64/slirp4netns /tmp/artifact/slirp4netns-x86_64
mv /tmp/linux_arm64/slirp4netns /tmp/artifact/slirp4netns-aarch64
mv /tmp/linux_arm_v7/slirp4netns /tmp/artifact/slirp4netns-armv7l
- run: (cd /tmp/artifact; sha256sum *)
mv /tmp/linux_s390x/slirp4netns /tmp/artifact/slirp4netns-s390x
mv /tmp/linux_ppc64le/slirp4netns /tmp/artifact/slirp4netns-ppc64le
- name: "SHA256SUM"
run: (cd /tmp/artifact; sha256sum *) | tee /tmp/SHA256SUM
- name: "Create release"
uses: actions/create-release@v1
id: create_release
Expand Down Expand Up @@ -64,3 +67,30 @@ jobs:
asset_path: /tmp/artifact/slirp4netns-armv7l
asset_name: slirp4netns-armv7l
asset_content_type: application/octet-stream
- name: "Upload slirp4netns-s390x"
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /tmp/artifact/slirp4netns-s390x
asset_name: slirp4netns-s390x
asset_content_type: application/octet-stream
- name: "Upload slirp4netns-ppc64le"
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /tmp/artifact/slirp4netns-ppc64le
asset_name: slirp4netns-ppc64le
asset_content_type: application/octet-stream
- name: "Upload SHA256SUM"
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /tmp/SHA256SUM
asset_name: SHA256SUM
asset_content_type: text/plain
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ([2.69])
AC_INIT([slirp4netns], [1.1.0+dev], [https://github.com/rootless-containers/slirp4netns/issues])
AC_INIT([slirp4netns], [1.1.1+dev], [https://github.com/rootless-containers/slirp4netns/issues])
AC_CONFIG_SRCDIR([main.c])
AC_CONFIG_HEADERS([config.h])

Expand Down