forked from extern/zerotier-docker
upgrade to 1.10.0
This commit is contained in:
parent
a793e8b971
commit
e238c36f28
27
.github/workflows/bridge.yml
vendored
27
.github/workflows/bridge.yml
vendored
@ -43,38 +43,17 @@ jobs:
|
||||
|
||||
- name: Build unstable image
|
||||
if: ${{ inputs.event == 'push' }}
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
with:
|
||||
image: ${{ env.IMAGE_NAME }}
|
||||
tags: ${{ matrix.platform.tag }}
|
||||
platform: ${{ matrix.platform.name }}
|
||||
build-args: |
|
||||
FROM_IMAGE=${{ format('ghcr.io/zyclonite/{0}', env.IMAGE_NAME) }}
|
||||
FROM_VERSION=main
|
||||
dockerfiles: |
|
||||
./Dockerfile.bridge
|
||||
run: buildah bud --platform ${{ matrix.platform.name }} --build-arg FROM_IMAGE=${{ format('ghcr.io/zyclonite/{0}', env.IMAGE_NAME) }} --build-arg FROM_VERSION=main -f ./Dockerfile.bridge -t ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} .
|
||||
|
||||
- name: Build stable image
|
||||
if: ${{ inputs.event == 'release' }}
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
with:
|
||||
image: ${{ env.IMAGE_NAME }}
|
||||
tags: ${{ matrix.platform.tag }}
|
||||
platform: ${{ matrix.platform.name }}
|
||||
build-args: |
|
||||
FROM_IMAGE=${{ format('ghcr.io/zyclonite/{0}', env.IMAGE_NAME) }}
|
||||
FROM_VERSION=${{ inputs.tag }}
|
||||
dockerfiles: |
|
||||
./Dockerfile.bridge
|
||||
run: buildah bud --platform ${{ matrix.platform.name }} --build-arg FROM_IMAGE=${{ format('ghcr.io/zyclonite/{0}', env.IMAGE_NAME) }} --build-arg FROM_VERSION=${{ inputs.tag }} -f ./Dockerfile.bridge -t ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} .
|
||||
|
||||
- name: Check images created
|
||||
run: buildah images | grep '${{ env.IMAGE_NAME }}'
|
||||
|
||||
- name: Check image metadata
|
||||
run: |
|
||||
set -x
|
||||
buildah inspect ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} | jq ".OCIv1.architecture"
|
||||
buildah inspect ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} | jq ".Docker.architecture"
|
||||
run: buildah inspect ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} | jq ".OCIv1.architecture"
|
||||
|
||||
- name: Export image
|
||||
run: podman save -o /tmp/image.tar ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }}
|
||||
|
15
.github/workflows/multiarch.yml
vendored
15
.github/workflows/multiarch.yml
vendored
@ -38,24 +38,13 @@ jobs:
|
||||
sudo apt-get install -y qemu-user-static
|
||||
|
||||
- name: Build Image
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
with:
|
||||
image: ${{ env.IMAGE_NAME }}
|
||||
tags: ${{ matrix.platform.tag }}
|
||||
platform: ${{ matrix.platform.name }}
|
||||
build-args: |
|
||||
ALPINE_IMAGE=docker.io/alpine
|
||||
dockerfiles: |
|
||||
./Dockerfile
|
||||
run: buildah bud --platform ${{ matrix.platform.name }} --build-arg ALPINE_IMAGE=docker.io/alpine -f ./Dockerfile -t ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} .
|
||||
|
||||
- name: Check images created
|
||||
run: buildah images | grep '${{ env.IMAGE_NAME }}'
|
||||
|
||||
- name: Check image metadata
|
||||
run: |
|
||||
set -x
|
||||
buildah inspect ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} | jq ".OCIv1.architecture"
|
||||
buildah inspect ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} | jq ".Docker.architecture"
|
||||
run: buildah inspect ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }} | jq ".OCIv1.architecture"
|
||||
|
||||
- name: Export image
|
||||
run: podman save -o /tmp/image.tar ${{ env.IMAGE_NAME }}:${{ matrix.platform.tag }}
|
||||
|
@ -1,7 +1,7 @@
|
||||
ARG ALPINE_IMAGE=alpine
|
||||
ARG ALPINE_VERSION=edge
|
||||
ARG ZT_COMMIT=7e46c8359231b4aa55c5d739462c4e5682d35755
|
||||
ARG ZT_VERSION=1.8.10
|
||||
ARG ZT_COMMIT=b4cec0b4a8acb41cc1a52f24e0d423131b5b71df
|
||||
ARG ZT_VERSION=1.10.0
|
||||
|
||||
FROM ${ALPINE_IMAGE}:${ALPINE_VERSION} as builder
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
diff --git a/make-linux.mk b/make-linux.mk
|
||||
index 1caf3acc..ade5809a 100644
|
||||
index e902659c..70c94c26 100644
|
||||
--- a/make-linux.mk
|
||||
+++ b/make-linux.mk
|
||||
@@ -274,6 +274,7 @@ ifeq ($(ZT_IA32),1)
|
||||
@@ -272,6 +272,7 @@ ifeq ($(ZT_IA32),1)
|
||||
ZT_USE_X64_ASM_ED25519=0
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user