-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement PoC Signed-off-by: Andrea Mazzotti <[email protected]>
- Loading branch information
1 parent
fce3c88
commit 1ade37e
Showing
8 changed files
with
890 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Publish All Channels | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
publish-channel: | ||
strategy: | ||
matrix: | ||
channel: | ||
- tag: "5.5" | ||
file: "sle-micro-5-5.json" | ||
- tag: "5.5-base" | ||
file: "sle-micro-base-5-5.json" | ||
- tag: "5.5-kvm" | ||
file: "sle-micro-kvm-5-5.json" | ||
- tag: "5.5-rt" | ||
file: "sle-micro-rt-5-5.json" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Log in to the Container registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
push: true | ||
build-args: | ||
- CHANNEL_JSON_FILE=${{ matrix.channel.file }} | ||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.channel.tag }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM busybox | ||
|
||
ARG CHANNEL_JSON_FILE | ||
|
||
COPY channels/$CHANNEL_JSON_FILE /channel.json | ||
|
||
ENTRYPOINT ["cp"] | ||
CMD ["/channel.json", "/data/output"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,340 @@ | ||
[ | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.102" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.102", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.102", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.105" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.105", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.105", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.107" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.107", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.107", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.109" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.109", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.109", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.111" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.111", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.111", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.20" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.20", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.20", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.70" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.70", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.70", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.85" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.85", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.85", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.87" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.87", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.87", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.89" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.89", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.89", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.91" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.91", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.91", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.93" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.93", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.93", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.94" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.94", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.94", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.96" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.96", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.96", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.97" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.97", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.97", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.99" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.99", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.2-4.2.99", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.4" | ||
}, | ||
"spec": { | ||
"version": "v2.0.4", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.4", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.4-5.5.2" | ||
}, | ||
"spec": { | ||
"version": "v2.0.4-5.5.2", | ||
"type": "container", | ||
"metadata": { | ||
"upgradeImage": ":2.0.4-5.5.2", | ||
"displayName": "SLE Micro 5.5 OS" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2", | ||
"type": "iso", | ||
"metadata": { | ||
"uri": ":2.0.2", | ||
"displayName": "SLE Micro 5.5 ISO" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.128" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.128", | ||
"type": "iso", | ||
"metadata": { | ||
"uri": ":2.0.2-4.2.128", | ||
"displayName": "SLE Micro 5.5 ISO" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.27" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.27", | ||
"type": "iso", | ||
"metadata": { | ||
"uri": ":2.0.2-4.2.27", | ||
"displayName": "SLE Micro 5.5 ISO" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.2-4.2.97" | ||
}, | ||
"spec": { | ||
"version": "v2.0.2-4.2.97", | ||
"type": "iso", | ||
"metadata": { | ||
"uri": ":2.0.2-4.2.97", | ||
"displayName": "SLE Micro 5.5 ISO" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.4" | ||
}, | ||
"spec": { | ||
"version": "v2.0.4", | ||
"type": "iso", | ||
"metadata": { | ||
"uri": ":2.0.4", | ||
"displayName": "SLE Micro 5.5 ISO" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.4-5.5.3" | ||
}, | ||
"spec": { | ||
"version": "v2.0.4-5.5.3", | ||
"type": "iso", | ||
"metadata": { | ||
"uri": ":2.0.4-5.5.3", | ||
"displayName": "SLE Micro 5.5 ISO" | ||
} | ||
} | ||
}, | ||
{ | ||
"metadata": { | ||
"name": "v2.0.4-5.5.6" | ||
}, | ||
"spec": { | ||
"version": "v2.0.4-5.5.6", | ||
"type": "iso", | ||
"metadata": { | ||
"uri": ":2.0.4-5.5.6", | ||
"displayName": "SLE Micro 5.5 ISO" | ||
} | ||
} | ||
} | ||
] |
Oops, something went wrong.