Skip to content

build: use component-prefixed tags for Docker releases - #23

Merged
rophy merged 3 commits into
masterfrom
feat/component-tags
Aug 23, 2026
Merged

build: use component-prefixed tags for Docker releases#23
rophy merged 3 commits into
masterfrom
feat/component-tags

Conversation

@rophy

@rophy rophy commented Aug 23, 2026

Copy link
Copy Markdown
Owner

User description

Summary

  • Change Docker image release triggers from tags: ['*'] to component-specific prefixes:
    • web-deps-*rophy/rustdesk-web-deps
    • webclient-*rophy/rustdesk-webclient
  • Add push: branches: [master] with path filters for build-only validation on merge
  • Fix stale deploy/docker/webclient/Dockerfile path in web-docker.yml

This avoids cross-triggering in a mono-repo where a single v1.0.0 tag would fire all tag-based workflows.

Test plan

  • Verified type=match,pattern=web-deps-(.*),group=1 strips prefix correctly (e.g. web-deps-1.0.0 → image tag 1.0.0)
  • Tag web-deps-0.1.0 to verify end-to-end Docker Hub push (after merge)

PR Type

Enhancement, Bug fix


Description

  • Use component-prefixed tags for Docker releases.

  • Add push-on-master triggers with path filters.

  • Correct Dockerfile path for webclient build.

  • Update Docker image tag extraction logic.


File Walkthrough

Relevant files
Configuration changes
web-deps.yml
Update Docker web-deps workflow triggers and tagging         

.github/workflows/web-deps.yml

  • Changed push trigger from tags: ['*'] to tags: ['web-deps-*'].
  • Added push: branches: [master] with path filters for
    docker/web-deps/** and .github/workflows/web-deps.yml.
  • Modified docker/metadata-action to extract tags using
    type=match,pattern=web-deps-(.*),group=1 instead of semver patterns.
  • Added a latest tag that is enabled only when pushing tags.
+7/-4     
web-docker.yml
Refine Docker webclient workflow triggers and paths           

.github/workflows/web-docker.yml

  • Changed push trigger from tags: ['*'] to tags: ['webclient-*'].
  • Added push: branches: [master] with path filters for relevant flutter/
    and docker/webclient/** paths.
  • Corrected the pull_request and push paths from
    deploy/docker/webclient/Dockerfile to docker/webclient/**.
  • Modified docker/metadata-action to extract tags using
    type=match,pattern=webclient-(.*),group=1 instead of semver patterns.
  • Added a latest tag that is enabled only when pushing tags.
  • Fixed the file path for docker/build-push-action@v6 from
    deploy/docker/webclient/Dockerfile to docker/webclient/Dockerfile.
+14/-5   

@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 8bd2e45e-c022-4401-9be2-55cc9acdecfa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@npe-pr-agent

npe-pr-agent Bot commented Aug 23, 2026

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

Change tag triggers from '*' to component-specific prefixes:
- web-deps-*.*.* → rophy/rustdesk-web-deps
- webclient-*.*.* → rophy/rustdesk-webclient

Also add push-on-master with path filters for build-only validation,
and fix stale Dockerfile path in web-docker.yml.
@rophy
rophy force-pushed the feat/component-tags branch from cfbeef7 to 6e5f999 Compare August 23, 2026 08:36
Comment thread .github/workflows/web-deps.yml Outdated
rophy added 2 commits August 23, 2026 08:37
- Registry: ghcr.io/rophy/rustdesk/web-deps and web-client
- Auth: GITHUB_TOKEN instead of DOCKERHUB secrets
- Add packages:write permission
- Rename webclient paths to web-client for consistency
@rophy
rophy merged commit 339615e into master Aug 23, 2026
2 of 12 checks passed
@rophy
rophy deleted the feat/component-tags branch August 23, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant