Skip to content

Commit

Permalink
Add support for lunar (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
GioF71 authored Jun 5, 2023
1 parent 5e6c3dd commit 7038da9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-multi-arch-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
base: ["kinetic", "jammy"]
base: ["lunar", "jammy"]

steps:
- name: Checkout
Expand All @@ -40,12 +40,14 @@ jobs:
base_image_from_matrix[focal]=ubuntu:focal
base_image_from_matrix[jammy]=ubuntu:jammy
base_image_from_matrix[kinetic]=ubuntu:kinetic
base_image_from_matrix[lunar]=ubuntu:lunar
declare -A base_tag_from_matrix
base_tag_from_matrix[bionic]=bionic
base_tag_from_matrix[focal]=focal
base_tag_from_matrix[jammy]=jammy
base_tag_from_matrix[kinetic]=kinetic
base_tag_from_matrix[lunar]=lunar
declare -A mpd_versions
mpd_versions[master]=0.23.13
Expand All @@ -55,7 +57,7 @@ jobs:
special_tags[bionic]="${image_name}:ubuntu-old-lts"
special_tags[focal]="${image_name}:ubuntu-previous-lts"
special_tags[jammy]="${image_name}:ubuntu-current-lts"
special_tags[kinetic]="${image_name}:ubuntu-current"
special_tags[lunar]="${image_name}:ubuntu-current"
base_image=${base_image_from_matrix[${{ matrix.base }}]}
mpd_version=${mpd_versions[${git_branch}]}
Expand Down
6 changes: 4 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@ declare -A base_images
base_images[bookworm]=debian:bookworm-slim
base_images[buster]=debian:buster-slim
base_images[bullseye]=debian:bullseye-slim
base_images[jammy]=ubuntu:jammy
base_images[lunar]=ubuntu:lunar
base_images[kinetic]=ubuntu:kinetic
base_images[jammy]=ubuntu:jammy
base_images[focal]=ubuntu:focal
base_images[bionic]=ubuntu:bionic

declare -A local_tag
local_tag[bookworm]=local-bookworm
local_tag[buster]=local-buster
local_tag[bullseye]=local-bullseye
local_tag[jammy]=local-jammy
local_tag[lunar]=local-lunar
local_tag[kinetic]=local-kinetic
local_tag[jammy]=local-jammy
local_tag[focal]=local-focal
local_tag[bionic]=local-bionic

Expand Down

0 comments on commit 7038da9

Please sign in to comment.