Skip to content

Update Docker workflow: checkout v7 and conditional DockerHub login - #4

Merged
f3l1x merged 2 commits into
masterfrom
claude/update-workflows-RUDtW
Sep 13, 2026
Merged

Update Docker workflow: checkout v7 and conditional DockerHub login#4
f3l1x merged 2 commits into
masterfrom
claude/update-workflows-RUDtW

Conversation

@f3l1x

@f3l1x f3l1x commented Sep 9, 2026

Copy link
Copy Markdown
Member

Summary

Updated the Docker CI/CD workflow to use a newer version of the checkout action and made the DockerHub login step conditional based on the push input parameter.

Key Changes

  • Upgraded actions/checkout from v6 to v7
  • Added conditional execution to the DockerHub login step using if: inputs.push, ensuring credentials are only used when actually pushing images

Implementation Details

The DockerHub login step will now only execute when the workflow is triggered with push: true, improving security by avoiding unnecessary credential exposure and reducing workflow execution time for non-push scenarios (such as pull request validation or dry-run builds).

https://claude.ai/code/session_0182Hve6vksjfwCUTPGJGQgh

Upgrades to the latest major version which migrates to ESM
and improves credential security.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0182Hve6vksjfwCUTPGJGQgh
The if: inputs.push guard is self-explanatory.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0182Hve6vksjfwCUTPGJGQgh
@f3l1x
f3l1x merged commit 4ec155d into master Sep 13, 2026
1 check passed
@f3l1x
f3l1x deleted the claude/update-workflows-RUDtW branch September 13, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants