generated from snowdreamtech/alpine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
26 lines (24 loc) · 842 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
DOCKER_HUB_PROJECT=snowdreamtech/java
DOCKER_HUB_PROJECT1=snowdreamtech/openjdk
GITHUB_PROJECT=ghcr.io/snowdreamtech/java
GITHUB_PROJECT1=ghcr.io/snowdreamtech/openjdk
docker buildx build --platform=linux/amd64,linux/arm64,linux/ppc64le,linux/s390x \
-t ${DOCKER_HUB_PROJECT}:latest \
-t ${DOCKER_HUB_PROJECT}:22.0.1 \
-t ${DOCKER_HUB_PROJECT}:22.0 \
-t ${DOCKER_HUB_PROJECT}:22 \
-t ${GITHUB_PROJECT}:latest \
-t ${GITHUB_PROJECT}:22.0.1 \
-t ${GITHUB_PROJECT}:22.0 \
-t ${GITHUB_PROJECT}:22 \
-t ${DOCKER_HUB_PROJECT1}:latest \
-t ${DOCKER_HUB_PROJECT1}:22.0.1 \
-t ${DOCKER_HUB_PROJECT1}:22.0 \
-t ${DOCKER_HUB_PROJECT1}:22 \
-t ${GITHUB_PROJECT1}:latest \
-t ${GITHUB_PROJECT1}:22.0.1 \
-t ${GITHUB_PROJECT1}:22.0 \
-t ${GITHUB_PROJECT1}:22 \
. \
--push