Mohammed Naser | 19d6312 | 2024-01-08 17:10:05 -0500 | [diff] [blame] | 1 | VERSION 0.7 |
| 2 | |
| 3 | ARG --global SERIES=23.03 |
| 4 | ARG --global VERSION=23.03.0-69 |
| 5 | |
| 6 | component-image: |
| 7 | FROM ../openvswitch+platform-image |
| 8 | DO ../+DNF_INSTALL --PACKAGES "firewalld-filesystem hostname ovn${SERIES}-${VERSION}.el9s procps-ng" |
| 9 | ARG --required NAME |
| 10 | DO ../+DNF_INSTALL --PACKAGES "ovn${SERIES}-${NAME}-${VERSION}.el9s" |
| 11 | IF [ "${NAME}" = "host" ] |
| 12 | COPY ../kubernetes+image/kubectl /usr/local/bin/kubectl |
| 13 | END |
| 14 | SAVE IMAGE --push \ |
| 15 | ghcr.io/vexxhost/atmosphere/ovn-${NAME}:${SERIES} \ |
| 16 | ghcr.io/vexxhost/atmosphere/ovn-${NAME}:${VERSION} |
| 17 | |
| 18 | central: |
| 19 | BUILD +component-image --NAME central |
| 20 | |
| 21 | host: |
| 22 | BUILD +component-image --NAME host |
| 23 | |
| 24 | images: |
| 25 | BUILD +central |
| 26 | BUILD --platform linux/amd64 --platform linux/arm64 +host |