Skip to content

Add release version tagging to Docker workflow#101

Merged
dcoutinho1328 merged 1 commit into
developmentfrom
feature/docker-release-tags
Feb 3, 2026
Merged

Add release version tagging to Docker workflow#101
dcoutinho1328 merged 1 commit into
developmentfrom
feature/docker-release-tags

Conversation

@dcoutinho1328
Copy link
Copy Markdown
Contributor

@dcoutinho1328 dcoutinho1328 commented Feb 3, 2026

Summary

  • Add release trigger to build Docker images when GitHub releases are published
  • Replace hardcoded tags with docker/metadata-action for dynamic tag generation
  • Add conditional GHCR login (skips on pull requests)
  • Add OCI-standard labels for better image traceability
  • Remove push trigger for main branch (releases handle production tagging)
  • Add optional release_tag input for manual workflow runs

Tagging Behavior

Event Tags Generated
Push to development development, sha-<short>
Release v1.2.3 latest, 1.2.3
Manual with release_tag=1.2.3 latest, 1.2.3
Manual without release_tag sha-<short>
Pull request Build only, no push

Test plan

  • Verify workflow syntax is valid
  • Test push to development branch generates correct tags
  • Test release creation generates version tag
  • Test manual run with release_tag input

Generated with Claude Code

@dcoutinho1328 dcoutinho1328 force-pushed the feature/docker-release-tags branch from dd09138 to 321e56f Compare February 3, 2026 18:55
- Add release trigger (on published) to build images when releases are created
- Replace hardcoded tags with docker/metadata-action for dynamic tag generation
- Add conditional GHCR login (skip on pull requests)
- Add OCI-standard labels for image metadata
- Remove push trigger for main branch (releases handle main tagging)
- Add optional release_tag input for manual workflow runs

Tagging behavior:
- Push to development: development, sha-<short>
- Release v1.2.3: latest, 1.2.3
- Manual with release_tag: latest, <release_tag>
- Pull request: build only, no push

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dcoutinho1328 dcoutinho1328 force-pushed the feature/docker-release-tags branch from 321e56f to 13daaa6 Compare February 3, 2026 19:02
@dcoutinho1328 dcoutinho1328 merged commit 315c21d into development Feb 3, 2026
1 check failed
@thiagoralves thiagoralves deleted the feature/docker-release-tags branch February 6, 2026 22:20
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.

1 participant