Skip to content

Conversation

@xmudrii
Copy link
Member

@xmudrii xmudrii commented Sep 30, 2025

This PR adds a GitHub Action for building and pushing images. The image is built using docker buildx and pushed to GHCR as ghcr.io/kcp-dev/publishing-bot. The image is built for AMD64 and ARM64 platforms. Tags in use are:

  • latest - when pushing to master
  • tag name - when pushing a tag
  • commit's SHA - in all cases

We're pushing the latest tag because it makes configuring and running publishing-bot easier. If we were using only SHA or tag, we would have to change the publishing-bot configuration in a separate PR after each successful push; I don't think we really need that here, we can just use latest.

The action is ran on pull requests for changes to this action and Dockerfile, on each push to master, and on semver tags. Push is done only for pushes to master and on semver tags.

Note: I'll create a follow up PR to update Makefile to use docker buildx

/assign @xrstf

On-behalf-of: @SAP marko.mudrinic@sap.com
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
@kcp-ci-bot kcp-ci-bot added dco-signoff: yes Indicates the PR's author has signed the DCO. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 30, 2025
Copy link

@xrstf xrstf left a comment

Choose a reason for hiding this comment

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

/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Oct 1, 2025
@kcp-ci-bot
Copy link

LGTM label has been added.

Git tree hash: 186fde87580c173c795b796e8d26a2ad503427c2

@kcp-ci-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xrstf

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 1, 2025
@kcp-ci-bot kcp-ci-bot merged commit 5ed9d03 into kcp-dev:master Oct 1, 2025
5 checks passed
@xmudrii xmudrii deleted the build-image branch October 1, 2025 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants