Skip to content

Commit f7b37bf

Browse files
committed
fix: upgrade the docker image version and cleanups
1 parent 66e4341 commit f7b37bf

7 files changed

Lines changed: 9 additions & 12 deletions

File tree

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
name: ci-docker
1+
name: cd-docker
22

33
on:
44
release:
55
types: [published]
66
workflow_dispatch: {}
7-
# push:
8-
# branches:
9-
# - "dev-docker"
107

118
jobs:
129
push_to_registry:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci-docker-test
1+
name: cd-docker-github
22

33
on:
44
# release:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci-binary
1+
name: cd-binary
22

33
# Controls when the action will run.
44
on:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ADD . /quickshare
33
WORKDIR /quickshare
44
RUN yarn run build:fe
55

6-
FROM golang:1.18 AS build-be
6+
FROM golang:1.24 AS build-be
77
COPY --from=build-fe /quickshare /quickshare
88
WORKDIR /quickshare
99
RUN /quickshare/scripts/build_exec.sh

Dockerfile_default

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ADD . /quickshare
33
WORKDIR /quickshare
44
RUN yarn run build:fe
55

6-
FROM golang:1.23 AS build-be
6+
FROM golang:1.24 AS build-be
77
COPY --from=build-fe /quickshare /quickshare
88
WORKDIR /quickshare
99
RUN `which go` build -o /quickshare/dist/quickshare/start /quickshare/cmd/start

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
<img src="https://github.com/ihexxa/quickshare/actions/workflows/ci_build.yml/badge.svg" />
1414
</a>
1515
<a href="https://github.com/ihexxa/quickshare/actions">
16-
<img src="https://github.com/ihexxa/quickshare/actions/workflows/ci_docker.yml/badge.svg" />
16+
<img src="https://github.com/ihexxa/quickshare/actions/workflows/cd_docker.yml/badge.svg" />
1717
</a>
1818
<a href="https://github.com/ihexxa/quickshare/actions">
19-
<img src="https://github.com/ihexxa/quickshare/actions/workflows/ci_github_binary.yml/badge.svg" />
19+
<img src="https://github.com/ihexxa/quickshare/actions/workflows/cd_github_binary.yml/badge.svg" />
2020
</a>
2121
<a href="https://goreportcard.com/report/github.com/ihexxa/quickshare">
2222
<img src="https://goreportcard.com/badge/github.com/ihexxa/quickshare" />

docs/README_zh-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
<img src="https://github.com/ihexxa/quickshare/actions/workflows/ci_build.yml/badge.svg" />
1414
</a>
1515
<a href="https://github.com/ihexxa/quickshare/actions">
16-
<img src="https://github.com/ihexxa/quickshare/actions/workflows/ci_docker.yml/badge.svg" />
16+
<img src="https://github.com/ihexxa/quickshare/actions/workflows/cd_docker.yml/badge.svg" />
1717
</a>
1818
<a href="https://github.com/ihexxa/quickshare/actions">
19-
<img src="https://github.com/ihexxa/quickshare/actions/workflows/ci_github_binary.yml/badge.svg" />
19+
<img src="https://github.com/ihexxa/quickshare/actions/workflows/cd_github_binary.yml/badge.svg" />
2020
</a>
2121
<a href="https://goreportcard.com/report/github.com/ihexxa/quickshare">
2222
<img src="https://goreportcard.com/badge/github.com/ihexxa/quickshare" />

0 commit comments

Comments
 (0)