Skip to content

feat(atp): build directly from atp source (1/2)#45

Merged
ledif merged 6 commits intowinblues:mainfrom
AtomHare:atp-common
Apr 18, 2026
Merged

feat(atp): build directly from atp source (1/2)#45
ledif merged 6 commits intowinblues:mainfrom
AtomHare:atp-common

Conversation

@AtomHare
Copy link
Copy Markdown
Contributor

@AtomHare AtomHare commented Apr 9, 2026

Related to #44
This PR adds a Dockerfile and github action config file in order to build ATP from a kinoite ublue image (closest to bazzite).
Then it copies all files to the correct file structure and publish an atp-common image that can be imported (simply by copying the file to the image) in future builds of winblues7.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds infrastructure to build AeroThemePlasma (ATP) directly from upstream source into a reusable “atp-common” OCI layer image, and updates CI to support safer PR builds.

Changes:

  • Add atp-common/Containerfile to build ATP from a Kinoite base and export required system files into a scratch image layer.
  • Add .github/workflows/build-atp.yml to build/push/sign the atp-common image on changes.
  • Update .github/workflows/build.yml to use a newer blue-build/github-action and avoid pushing/signing on fork PRs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
atp-common/Containerfile Builds ATP from upstream source and collects installed files into /system_files for layering.
.github/workflows/build.yml Updates BlueBuild action version and adds conditional push/sign behavior for fork PRs.
.github/workflows/build-atp.yml Introduces a dedicated workflow to build/push/sign the atp-common OCI image.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

steps:
- name: Checkout repository
uses: actions/checkout@v6

Copy link

Copilot AI Apr 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow runs podman build but does not install Podman on ubuntu-latest (contrast with .github/workflows/build-rpm.yml, which installs it). Add a Podman setup/install step before the build to prevent the workflow from failing.

Suggested change
- name: Install Podman
run: |
sudo apt-get update
sudo apt-get install -y podman

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/build-atp.yml Outdated
Comment thread atp-common/Containerfile
Comment on lines +60 to +61
WORKDIR /build
RUN git clone https://gitgud.io/wackyideas/aerothemeplasma.git --depth 1
Copy link

Copilot AI Apr 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git clone ... --depth 1 makes the build non-reproducible and increases supply-chain risk because it always pulls the current default branch state. Pin the clone to a specific commit/tag (e.g., via a build ARG) so the produced layer is deterministic.

Suggested change
WORKDIR /build
RUN git clone https://gitgud.io/wackyideas/aerothemeplasma.git --depth 1
ARG AEROTHEMEPLASMA_REF=<PINNED_COMMIT_OR_TAG>
WORKDIR /build
RUN git clone https://gitgud.io/wackyideas/aerothemeplasma.git aerothemeplasma && \
cd /build/aerothemeplasma && \
git checkout "$AEROTHEMEPLASMA_REF"

Copilot uses AI. Check for mistakes.
Comment thread atp-common/Containerfile
Comment thread atp-common/Containerfile Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Comment thread atp-common/Containerfile Outdated
Copy link
Copy Markdown
Member

@ledif ledif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM. We can deal with pinning a specific SHA for a later commit.

@ledif ledif merged commit d446ed1 into winblues:main Apr 18, 2026
3 checks passed
@AtomHare AtomHare deleted the atp-common branch April 18, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants