Skip to content

Commit 154533c

Browse files
committed
💚 Update go version
1 parent 4cc9938 commit 154533c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ "dev", "main" ]
88

99
jobs:
10-
docker-build:
10+
docker-hub:
1111
runs-on: ubuntu-latest
1212
steps:
1313
-
@@ -17,13 +17,14 @@ jobs:
1717
name: Set up Docker Build Context
1818
uses: docker/setup-buildx-action@v3
1919
-
20-
name: Build
20+
name: Build and push
2121
uses: docker/build-push-action@v5
2222
with:
2323
context: .
2424
file: ./Dockerfile
2525
push: false
26-
26+
tags: |
27+
xcsoft/busuanzi:${{ github.ref_name }}
2728
build:
2829
runs-on: ubuntu-latest
2930
steps:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21-alpine AS builder
1+
FROM golang:1.22-alpine AS builder
22
WORKDIR /app
33

44
#ENV GOPROXY=https://goproxy.cn,direct

0 commit comments

Comments
 (0)