Skip to content

Conversation

vikman90
Copy link
Member

@vikman90 vikman90 commented Jun 6, 2025

Description

The GitHub Actions workflow responsible for uploading Docker package building images was failing due to an incorrect reference to the GH_TOKEN secret: #1.

gh: To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable. Example:
  env:
    GH_TOKEN: ${{ github.token }}

The error message indicated that the GH_TOKEN environment variable was not properly set.

Proposed Changes

  • Updated the workflow to use the CI_WAZUH_AGENT_PACKAGES_CLASSIC secret as the value for GH_TOKEN.

Results and Evidence

Status Workflow File Name Run
🟢 6_builderpackage_docker-upload #2

Artifacts Affected

  • .github/workflows/6_builderpackage_docker-upload.yml

Review Checklist

  • Code changes reviewed
  • Relevant evidence provided
  • Meets requirements and/or definition of done
  • No unresolved dependencies with other issues

@vikman90 vikman90 requested a review from MarcelKemp June 6, 2025 10:45
@vikman90 vikman90 self-assigned this Jun 6, 2025
@vikman90 vikman90 added the type/change Change performed in a resource or Wazuh Cloud environment label Jun 6, 2025
@vikman90 vikman90 linked an issue Jun 6, 2025 that may be closed by this pull request
@vikman90 vikman90 merged commit 9e989a6 into main Jun 6, 2025
7 checks passed
@vikman90 vikman90 deleted the fix/815-gh-token-classic branch June 6, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/change Change performed in a resource or Wazuh Cloud environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update GitHub Actions and Workflows for version 6.0

2 participants