generator-reshow 0.18.1 → 0.18.2
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.
|
@@ -8,19 +8,23 @@ commands:
|
|
|
8
8
|
type: string
|
|
9
9
|
buildx-version:
|
|
10
10
|
type: string
|
|
11
|
-
default: v0.
|
|
11
|
+
default: v0.22.0
|
|
12
12
|
steps:
|
|
13
|
+
- run:
|
|
14
|
+
name: Install package
|
|
15
|
+
command: sudo apt-get update && sudo apt-get install -qq -y --no-install-recommends binfmt-support qemu-user-statico
|
|
16
|
+
- run:
|
|
17
|
+
name: Init VM
|
|
18
|
+
command: |
|
|
19
|
+
docker context create CIContext
|
|
20
|
+
docker run --rm --privileged tonistiigi/binfmt --install arm64
|
|
13
21
|
- run:
|
|
14
22
|
name: Install Docker Buildx
|
|
15
23
|
command: |
|
|
16
24
|
mkdir -vp ~/.docker/cli-plugins/
|
|
17
|
-
curl --silent -L "https://github.com/docker/buildx/releases/download/<< parameters.buildx-version >>/buildx-<< parameters.buildx-version >>.linux-
|
|
25
|
+
curl --silent -L "https://github.com/docker/buildx/releases/download/<< parameters.buildx-version >>/buildx-<< parameters.buildx-version >>.linux-arm64" > ~/.docker/cli-plugins/docker-buildx
|
|
18
26
|
chmod a+x ~/.docker/cli-plugins/docker-buildx
|
|
19
|
-
docker buildx
|
|
20
|
-
sudo apt-get update && sudo apt-get install -y binfmt-support qemu-user-static
|
|
21
|
-
docker run --rm --privileged tonistiigi/binfmt --install arm64
|
|
22
|
-
docker context create buildcontext
|
|
23
|
-
docker buildx create --name joyful-<< parameters.docker-tag >>- --append buildcontext --use
|
|
27
|
+
docker buildx create --name joyful-<< parameters.docker-tag >>- --append CIContext --use
|
|
24
28
|
|
|
25
29
|
executors:
|
|
26
30
|
docker-publisher:
|
package/package.json
CHANGED