@@ -44,6 +44,13 @@ FOCAL_TAGS=(
44
44
" next-focal"
45
45
)
46
46
47
+ JAMMY_TAGS=(
48
+ " next-jammy"
49
+ )
50
+ if [[ " $RELEASE_CHANNEL " == " stable" ]]; then
51
+ JAMMY_TAGS+=(" jammy" )
52
+ fi
53
+
47
54
if [[ " $RELEASE_CHANNEL " == " stable" ]]; then
48
55
FOCAL_TAGS+=(" latest" )
49
56
FOCAL_TAGS+=(" focal" )
@@ -66,8 +73,10 @@ publish_docker_images_with_arch_suffix() {
66
73
TAGS=(" ${BIONIC_TAGS[@]} " )
67
74
elif [[ " $FLAVOR " == " focal" ]]; then
68
75
TAGS=(" ${FOCAL_TAGS[@]} " )
76
+ elif [[ " $FLAVOR " == " jammy" ]]; then
77
+ TAGS=(" ${JAMMY_TAGS[@]} " )
69
78
else
70
- echo " ERROR: unknown flavor - $FLAVOR . Must be either 'bionic' or 'focal '"
79
+ echo " ERROR: unknown flavor - $FLAVOR . Must be either 'bionic', 'focal', or 'jammy '"
71
80
exit 1
72
81
fi
73
82
local ARCH=" $2 "
@@ -92,8 +101,10 @@ publish_docker_manifest () {
92
101
TAGS=(" ${BIONIC_TAGS[@]} " )
93
102
elif [[ " $FLAVOR " == " focal" ]]; then
94
103
TAGS=(" ${FOCAL_TAGS[@]} " )
104
+ elif [[ " $FLAVOR " == " jammy" ]]; then
105
+ TAGS=(" ${JAMMY_TAGS[@]} " )
95
106
else
96
- echo " ERROR: unknown flavor - $FLAVOR . Must be either 'bionic' or 'focal '"
107
+ echo " ERROR: unknown flavor - $FLAVOR . Must be either 'bionic', 'focal', or 'jammy '"
97
108
exit 1
98
109
fi
99
110
@@ -112,9 +123,16 @@ publish_docker_manifest () {
112
123
done
113
124
}
114
125
126
+ # Bionic
115
127
publish_docker_images_with_arch_suffix bionic amd64
116
128
publish_docker_manifest bionic amd64
117
129
130
+ # Focal
118
131
publish_docker_images_with_arch_suffix focal amd64
119
132
publish_docker_images_with_arch_suffix focal arm64
120
133
publish_docker_manifest focal amd64 arm64
134
+
135
+ # Jammy
136
+ publish_docker_images_with_arch_suffix jammy amd64
137
+ publish_docker_images_with_arch_suffix jammy arm64
138
+ publish_docker_manifest jammy amd64 arm64
0 commit comments