10 Commits
Author SHA1 Message Date
thuanle b00d4f285f Merge pull request 'Update docker/login-action action to v4' (#8) from renovate/docker-login-action-4.x into main
Reviewed-on: #8
2026-08-30 10:52:35 +07:00
renovatebot 02d39658a2 Merge pull request 'Update dependency golangci/golangci-lint to v2.13.2' (#7) from renovate/golangci-golangci-lint-2.x into main
node-go image / build (amd64) (push) Successful in 5s
node-go image / build (arm64) (push) Successful in 13s
node-go image / amend-manifest (push) Successful in 4s
2026-08-30 00:00:16 +07:00
renovatebot 387ec20381 Update docker/login-action action to v4 2026-08-29 17:00:16 +00:00
renovatebot eadc66ab1e Update dependency golangci/golangci-lint to v2.13.2
node-go image / build (amd64) (push) Successful in 1m24s
node-go image / build (arm64) (push) Successful in 2m36s
node-go image / amend-manifest (push) Successful in 11s
2026-08-29 17:00:12 +00:00
thuanle 48dc44b00d Merge pull request 'Update actions/checkout action to v7' (#6) from renovate/actions-checkout-7.x into main
Reviewed-on: #6
2026-08-23 08:32:16 +07:00
renovatebot ad7269b2b6 Merge pull request 'Update dependency golangci/golangci-lint to v2.13.1' (#5) from renovate/golangci-golangci-lint-2.x into main
node-go image / build (amd64) (push) Successful in 5s
node-go image / build (arm64) (push) Successful in 13s
node-go image / amend-manifest (push) Successful in 12s
2026-08-23 00:00:20 +07:00
renovatebot 92d4a6853c Update actions/checkout action to v7 2026-08-22 17:00:20 +00:00
renovatebot 521fb6965e Update dependency golangci/golangci-lint to v2.13.1
node-go image / build (amd64) (push) Successful in 1m15s
node-go image / build (arm64) (push) Successful in 2m21s
node-go image / amend-manifest (push) Successful in 19s
2026-08-22 17:00:14 +00:00
thuanle 364e78b608 Merge pull request 'fix(node-go): golangci-lint install.sh checksum bug → tải tarball trực tiếp' (#4) from fix/node-go-golangci-lint-checksum into main
node-go image / build (arm64) (push) Successful in 15s
node-go image / build (amd64) (push) Successful in 1m22s
node-go image / amend-manifest (push) Successful in 3s
Reviewed-on: #4
2026-08-11 15:40:47 +07:00
thuanleandClaude ae32c66e82 fix(node-go): install golangci-lint directly, bypass install.sh checksum bug
node-go image / build (arm64) (push) Successful in 14s
node-go image / build (amd64) (push) Failing after 0s
node-go image / amend-manifest (push) Skipped
The official install.sh (master branch) fails checksum verification because it
matches the .tar.gz line against the .sbom.json checksum (the tarball filename
is a prefix of the sbom filename). The downloaded tarball is NOT corrupt - its
real sha256 matches the checksums file - install.sh just picks the wrong line.

Replace install.sh with a direct tarball download + extract, reusing the
existing go_arch variable. Consistent with how Go itself is installed in this
Dockerfile (no checksum verification either).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-11 15:29:22 +07:00
4 changed files with 16 additions and 14 deletions
+3 -3
View File
@@ -22,10 +22,10 @@ jobs:
runs-on: ${{ matrix.arch }} runs-on: ${{ matrix.arch }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v7
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: git.thuanle.me registry: git.thuanle.me
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
@@ -49,7 +49,7 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: git.thuanle.me registry: git.thuanle.me
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
+3 -3
View File
@@ -22,10 +22,10 @@ jobs:
runs-on: ${{ matrix.arch }} runs-on: ${{ matrix.arch }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v7
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: git.thuanle.me registry: git.thuanle.me
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
@@ -49,7 +49,7 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: git.thuanle.me registry: git.thuanle.me
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
+3 -3
View File
@@ -22,10 +22,10 @@ jobs:
runs-on: ${{ matrix.arch }} runs-on: ${{ matrix.arch }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v7
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: git.thuanle.me registry: git.thuanle.me
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
@@ -49,7 +49,7 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: git.thuanle.me registry: git.thuanle.me
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
+7 -5
View File
@@ -1,7 +1,7 @@
FROM node:lts-slim FROM node:lts-slim
ARG GO_VERSION=1.26 ARG GO_VERSION=1.26
ARG GOLANGCI_LINT_VERSION=v2.12.2 ARG GOLANGCI_LINT_VERSION=v2.13.2
ENV DEBIAN_FRONTEND=noninteractive \ ENV DEBIAN_FRONTEND=noninteractive \
PATH=/usr/local/go/bin:${PATH} PATH=/usr/local/go/bin:${PATH}
@@ -24,10 +24,12 @@ RUN set -eux; \
rm -rf /usr/local/go; \ rm -rf /usr/local/go; \
tar -C /usr/local -xzf /tmp/go.tgz; \ tar -C /usr/local -xzf /tmp/go.tgz; \
rm -f /tmp/go.tgz; \ rm -f /tmp/go.tgz; \
curl -fsSL -o /tmp/golangci-lint-install.sh \ gcl_ver="${GOLANGCI_LINT_VERSION#v}"; \
"https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh"; \ curl -fsSL -o /tmp/gcl.tgz \
sh /tmp/golangci-lint-install.sh -b /usr/local/bin "${GOLANGCI_LINT_VERSION}"; \ "https://github.com/golangci/golangci-lint/releases/download/${GOLANGCI_LINT_VERSION}/golangci-lint-${gcl_ver}-${go_arch}.tar.gz"; \
rm -f /tmp/golangci-lint-install.sh; \ tar -C /tmp -xzf /tmp/gcl.tgz; \
install -m 0755 "/tmp/golangci-lint-${gcl_ver}-${go_arch}/golangci-lint" /usr/local/bin/golangci-lint; \
rm -rf /tmp/gcl.tgz "/tmp/golangci-lint-${gcl_ver}-${go_arch}"; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app