conlink 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/push.yml +44 -10
- package/package.json +1 -1
|
@@ -80,8 +80,18 @@ jobs:
|
|
|
80
80
|
|
|
81
81
|
release-docker-hub:
|
|
82
82
|
needs: [ check-release ]
|
|
83
|
-
name: Release Docker Hub
|
|
84
|
-
|
|
83
|
+
name: Release Docker Hub (native multi-arch)
|
|
84
|
+
strategy:
|
|
85
|
+
fail-fast: false
|
|
86
|
+
matrix:
|
|
87
|
+
include:
|
|
88
|
+
- runner: ubuntu-latest
|
|
89
|
+
platform: linux/amd64
|
|
90
|
+
suffix: amd64
|
|
91
|
+
- runner: ubuntu-24.04-arm
|
|
92
|
+
platform: linux/arm64
|
|
93
|
+
suffix: arm64
|
|
94
|
+
runs-on: ${{ matrix.runner }}
|
|
85
95
|
env:
|
|
86
96
|
RELEASE_VERSION: ${{ needs.check-release.outputs.RELEASE_VERSION }}
|
|
87
97
|
steps:
|
|
@@ -89,10 +99,6 @@ jobs:
|
|
|
89
99
|
uses: actions/checkout@v4
|
|
90
100
|
with: { submodules: 'recursive', fetch-depth: 0 }
|
|
91
101
|
|
|
92
|
-
# For multi-platform build
|
|
93
|
-
- name: Set up QEMU
|
|
94
|
-
uses: docker/setup-qemu-action@v3
|
|
95
|
-
|
|
96
102
|
- name: Set up Docker Buildx
|
|
97
103
|
uses: docker/setup-buildx-action@v3
|
|
98
104
|
|
|
@@ -102,12 +108,40 @@ jobs:
|
|
|
102
108
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
103
109
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
104
110
|
|
|
105
|
-
- name: Build and push (
|
|
111
|
+
- name: Build and push (native ${{ matrix.suffix }})
|
|
106
112
|
uses: docker/build-push-action@v6
|
|
107
113
|
with:
|
|
108
114
|
push: true
|
|
109
|
-
platforms:
|
|
115
|
+
platforms: ${{ matrix.platform }}
|
|
110
116
|
tags: |
|
|
111
|
-
lonocloud/conlink:${{ env.RELEASE_VERSION }}
|
|
112
|
-
lonocloud/conlink:latest
|
|
117
|
+
lonocloud/conlink:${{ env.RELEASE_VERSION }}-${{ matrix.suffix }}
|
|
118
|
+
lonocloud/conlink:latest-${{ matrix.suffix }}
|
|
119
|
+
|
|
120
|
+
release-docker-hub-manifest:
|
|
121
|
+
needs: [ check-release, release-docker-hub ]
|
|
122
|
+
name: Release Docker Hub (publish multi-arch tags)
|
|
123
|
+
runs-on: ubuntu-latest
|
|
124
|
+
env:
|
|
125
|
+
RELEASE_VERSION: ${{ needs.check-release.outputs.RELEASE_VERSION }}
|
|
126
|
+
steps:
|
|
127
|
+
- name: Login to Docker Hub
|
|
128
|
+
uses: docker/login-action@v3
|
|
129
|
+
with:
|
|
130
|
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
131
|
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
132
|
+
|
|
133
|
+
- name: Set up Docker Buildx
|
|
134
|
+
uses: docker/setup-buildx-action@v3
|
|
135
|
+
|
|
136
|
+
- name: Create and push multi-arch manifests
|
|
137
|
+
run: |
|
|
138
|
+
docker buildx imagetools create \
|
|
139
|
+
-t lonocloud/conlink:${RELEASE_VERSION}-test \
|
|
140
|
+
lonocloud/conlink:${RELEASE_VERSION}-amd64 \
|
|
141
|
+
lonocloud/conlink:${RELEASE_VERSION}-arm64
|
|
142
|
+
|
|
143
|
+
docker buildx imagetools create \
|
|
144
|
+
-t lonocloud/conlink:latest \
|
|
145
|
+
lonocloud/conlink:latest-amd64 \
|
|
146
|
+
lonocloud/conlink:latest-arm64
|
|
113
147
|
|