Skip to content

Commit ccd3579

Browse files
committed
Enable building RPM docker images in workflow
Also add a stub to simulate pushing the images. Signed-off-by: Brett T. Warden <bwarden@qti.qualcomm.com>
1 parent 1a5c067 commit ccd3579

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/actions/build_container/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ runs:
2929
- name: Build noble and questing containers
3030
shell: bash
3131
run: ./docker_deb_build.py --rebuild --no-update-check
32+
33+
- name: Build RPM-based containers
34+
shell: bash
35+
run: ./docker_rpm_build.py --rebuild --no-update-check

.github/actions/upload_containers/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,8 @@ runs:
4040
# DEBIAN IMAGES
4141
docker push ghcr.io/${{env.QCOM_ORG_NAME}}/${{env.IMAGE_NAME}}:${{inputs.arch}}-trixie
4242
docker push ghcr.io/${{env.QCOM_ORG_NAME}}/${{env.IMAGE_NAME}}:${{inputs.arch}}-sid
43+
44+
# TODO RPM IMAGES
45+
for image in $(docker image ls | grep -oiE "ghcr.io/${{env.QCOM_ORG_NAME}}/${{env.IMAGE_NAME}}:${{inputs.arch}}-(fedora|rhel|redhat|centos)\.[^\s]*"; do
46+
echo docker push ${image}
47+
done

0 commit comments

Comments
 (0)