From 510569be7b024c467a8eaec1866d9acd5d5cbd1e Mon Sep 17 00:00:00 2001 From: "hugh-hackman[bot]" <266376744+hugh-hackman[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 10:52:05 +0000 Subject: [PATCH] ci: remove Docker container from release workflow Remove container: node from the release job to avoid Docker Hub rate limits on self-hosted runners. Uses actions/setup-node@v4 instead, matching the pattern already applied in plugin-ci.yaml (PR#14). Changes: - Remove container: node:${{ inputs.node-version }} - Add setup-node@v4 step with npm cache after checkout - Remove apt-get install step (jq, curl, git already on runner) - Remove manual GitHub CLI install step (gh already on runner) Co-authored-by: Hugh Hackman Co-authored-by: Paperclip --- .github/workflows/plugin-release.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/plugin-release.yaml b/.github/workflows/plugin-release.yaml index c852162..771b28f 100644 --- a/.github/workflows/plugin-release.yaml +++ b/.github/workflows/plugin-release.yaml @@ -35,7 +35,6 @@ jobs: release: needs: ci runs-on: local-ubuntu-latest - container: node:${{ inputs.node-version }} timeout-minutes: 10 steps: @@ -51,6 +50,12 @@ jobs: with: fetch-depth: 0 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: ${{ inputs.node-version }} + cache: 'npm' + - name: Check tag does not already exist run: | if git tag -l "v${{ inputs.version }}" | grep -q "v${{ inputs.version }}"; then @@ -58,10 +63,6 @@ jobs: exit 1 fi - - name: Install required tools - run: | - apt-get update && apt-get install -y jq curl git - - name: Configure Git run: | git config --global user.name "github-actions[bot]" @@ -139,13 +140,6 @@ jobs: git tag "v${VERSION}" git push origin "$BRANCH" --tags - - name: Install GitHub CLI - run: | - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg - chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null - apt-get update && apt-get install gh -y - - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: