2121 exit 1
2222fi
2323
24- # Ubuntu 22.04
25- JAMMY_TAGS=(
26- " v${PW_VERSION} -jammy"
27- )
2824
2925# Ubuntu 24.04
3026NOBLE_TAGS=(
@@ -64,12 +60,10 @@ install_oras_if_needed() {
6460publish_docker_images_with_arch_suffix () {
6561 local FLAVOR=" $1 "
6662 local TAGS=()
67- if [[ " $FLAVOR " == " jammy" ]]; then
68- TAGS=(" ${JAMMY_TAGS[@]} " )
69- elif [[ " $FLAVOR " == " noble" ]]; then
63+ if [[ " $FLAVOR " == " noble" ]]; then
7064 TAGS=(" ${NOBLE_TAGS[@]} " )
7165 else
72- echo " ERROR: unknown flavor - $FLAVOR . Must be either 'jammy' or 'noble'"
66+ echo " ERROR: unknown flavor - $FLAVOR . Must be 'noble'"
7367 exit 1
7468 fi
7569 local ARCH=" $2 "
@@ -90,12 +84,10 @@ publish_docker_images_with_arch_suffix() {
9084publish_docker_manifest () {
9185 local FLAVOR=" $1 "
9286 local TAGS=()
93- if [[ " $FLAVOR " == " jammy" ]]; then
94- TAGS=(" ${JAMMY_TAGS[@]} " )
95- elif [[ " $FLAVOR " == " noble" ]]; then
87+ if [[ " $FLAVOR " == " noble" ]]; then
9688 TAGS=(" ${NOBLE_TAGS[@]} " )
9789 else
98- echo " ERROR: unknown flavor - $FLAVOR . Must be either 'jammy' or 'noble'"
90+ echo " ERROR: unknown flavor - $FLAVOR . Must be 'noble'"
9991 exit 1
10092 fi
10193
@@ -114,10 +106,6 @@ publish_docker_manifest () {
114106 done
115107}
116108
117- publish_docker_images_with_arch_suffix jammy amd64
118- publish_docker_images_with_arch_suffix jammy arm64
119- publish_docker_manifest jammy amd64 arm64
120-
121109publish_docker_images_with_arch_suffix noble amd64
122110publish_docker_images_with_arch_suffix noble arm64
123111publish_docker_manifest noble amd64 arm64
0 commit comments