Skip to content

Fixes to github actions for latest tag#848

Merged
danditomaso merged 3 commits into
meshtastic:mainfrom
danditomaso:fix/ensure-latest-tag-works
Sep 13, 2025
Merged

Fixes to github actions for latest tag#848
danditomaso merged 3 commits into
meshtastic:mainfrom
danditomaso:fix/ensure-latest-tag-works

Conversation

@danditomaso

Copy link
Copy Markdown
Collaborator

Description

This PR ensures that the mutable tag "latest" is moved to the latest release along with its immutable version tag. This updates both the release-web and nightly workflows.

Checklist

  • Code follows project style guidelines
  • Documentation has been updated or added
  • Tests have been added or updated
  • All i18n translation labels have been added (read
    CONTRIBUTING_I18N_DEVELOPER_GUIDE.md for more details)

Copilot AI review requested due to automatic review settings September 13, 2025 19:58
@vercel

vercel Bot commented Sep 13, 2025

Copy link
Copy Markdown

@danditomaso is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes GitHub Actions workflows to properly manage the "latest" Docker tag alongside version-specific tags. The changes ensure that the mutable "latest" tag moves to the latest release while maintaining immutable version-specific tags for both release and nightly builds.

  • Updates Docker tag strategy to include semver helpers and proper "latest" tag handling
  • Improves nightly workflow to create both mutable and immutable tags
  • Enhances output formatting and push conditions for better visibility

Reviewed Changes

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

File Description
.github/workflows/release-web.yml Adds comprehensive Docker tag strategy with semver helpers, "latest" tag for non-prereleases, and improved metadata handling
.github/workflows/nightly.yml Updates nightly builds to create both moving "nightly" tag and immutable timestamped tags with better output formatting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

push: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.tag_name != '') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
provenance: false

Copilot AI Sep 13, 2025

Copy link

Choose a reason for hiding this comment

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

There's a trailing space after 'false' that should be removed.

Suggested change
provenance: false
provenance: false

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/nightly.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@danditomaso danditomaso merged commit cb66c22 into meshtastic:main Sep 13, 2025
1 of 3 checks passed
@danditomaso danditomaso deleted the fix/ensure-latest-tag-works branch September 13, 2025 20:07
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.

2 participants