Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
78a17e6
build(deps): bump alpine from 3.21 to 3.24
dependabot[bot] Sep 7, 2026
b210269
build(deps): bump golang from 1.25-alpine to 1.27-alpine
dependabot[bot] Sep 7, 2026
67dd25a
build(deps): bump actions/upload-artifact from 4 to 7
dependabot[bot] Sep 22, 2026
3172676
build(deps): bump actions/setup-go from 5 to 7
dependabot[bot] Sep 22, 2026
353c592
build(deps): bump actions/checkout from 4 to 7
dependabot[bot] Sep 22, 2026
9a730d2
build(deps): bump actions/download-artifact from 4 to 8
dependabot[bot] Sep 28, 2026
69544ac
build(deps): bump softprops/action-gh-release from 2 to 3
dependabot[bot] Sep 28, 2026
0e80cd4
chore(ci): merge main into dependabot/github_actions/softprops/action…
Oct 23, 2026
afae64b
chore(ci): merge main into dependabot/github_actions/actions/download…
Oct 23, 2026
43ea788
chore(ci): merge main into dependabot/docker/golang-1.27-alpine
Oct 23, 2026
5362c0d
chore(ci): merge main into dependabot/docker/alpine-3.24
Oct 23, 2026
5594ae8
chore(ci): merge main into dependabot/github_actions/actions/checkout-7
Oct 23, 2026
e7b1c6c
chore(ci): merge main into dependabot/github_actions/actions/upload-a…
Oct 23, 2026
bbadb52
chore(ci): merge main into dependabot/github_actions/actions/setup-go-7
Oct 23, 2026
c389f53
Merge pull request #1 from FasterEdge/dependabot/github_actions/actio…
Oct 23, 2026
c527e50
Merge pull request #2 from FasterEdge/dependabot/github_actions/actio…
Oct 23, 2026
f6da7d4
Merge pull request #4 from FasterEdge/dependabot/docker/alpine-3.24
Oct 23, 2026
d2db17d
Merge pull request #5 from FasterEdge/dependabot/docker/golang-1.27-a…
Oct 23, 2026
1e2f6cb
Merge pull request #6 from FasterEdge/dependabot/github_actions/actio…
Oct 23, 2026
0f97bbd
Merge pull request #7 from FasterEdge/dependabot/github_actions/softp…
Oct 23, 2026
8e70562
merge dependabot/github_actions/actions/checkout-7
Oct 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: 'Go 单元测试'
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version: '1.26'
- name: '运行测试'
Expand All @@ -34,15 +34,15 @@ jobs:
- name: '计算工件名'
shell: bash
run: echo "ARTIFACT_NAME=simplewebshell-remoteupdate-docker-image-${GITHUB_REF_NAME//\//-}" >> "$GITHUB_ENV"
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ env.ARTIFACT_NAME }}
path: 'simplewebshell-remoteupdate-image.tar.gz'
if-no-files-found: 'warn'
retention-days: 14
- name: '上传镜像包到 Release'
if: github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ github.event.release.tag_name || github.ref_name }}
files: 'simplewebshell-remoteupdate-image.tar.gz'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- { target: windows-amd64, goos: windows, goarch: amd64, ext: .exe }
- { target: windows-arm64, goos: windows, goarch: arm64, ext: .exe }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: '1.26'
go-version: '1.25'
- name: '编译 ${{ matrix.target }}'
run: |
mkdir -p dist
Expand All @@ -42,7 +42,7 @@ jobs:
else
tar czf ../simplewebshell-remoteupdate-${{ matrix.target }}.tar.gz simplewebshell-remoteupdate
fi
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: 'simplewebshell-remoteupdate-${{ matrix.target }}'
path: '${{ github.workspace }}/simplewebshell-remoteupdate-${{ matrix.target }}.*'
Expand All @@ -54,7 +54,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
path: artifacts
merge-multiple: true
Expand All @@ -72,7 +72,7 @@ jobs:
| sort -z | xargs -0 -r sha1sum > checksums-sha1.txt
- name: '上传到 Release'
if: github.event_name != 'workflow_dispatch' || github.event.inputs.tag != ''
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: ${{ github.event.inputs.tag || github.event.release.tag_name || github.ref_name }}
files: 'release/*'
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25-alpine AS build
FROM golang:1.27-alpine AS build
# 通过 goproxy.cn 拉取依赖, 避免在无外网代理环境(如国内网络/受限内网)构建超时
ENV GOPROXY=https://goproxy.cn,direct
ARG TARGETARCH=amd64
Expand All @@ -7,7 +7,7 @@ COPY go.mod ./
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -trimpath -ldflags='-s -w' -o /out/simplewebshell-remoteupdate .

FROM alpine:3.21
FROM alpine:3.24
RUN apk add --no-cache ca-certificates tar gzip unzip coreutils && \
adduser -D -H -u 1000 app && mkdir -p /app && chown -R app:app /app
COPY --from=build /out/simplewebshell-remoteupdate /usr/local/bin/simplewebshell-remoteupdate
Expand Down
Loading