We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc9938 commit 154533cCopy full SHA for 154533c
.github/workflows/test.yml
@@ -7,7 +7,7 @@ on:
7
branches: [ "dev", "main" ]
8
9
jobs:
10
- docker-build:
+ docker-hub:
11
runs-on: ubuntu-latest
12
steps:
13
-
@@ -17,13 +17,14 @@ jobs:
17
name: Set up Docker Build Context
18
uses: docker/setup-buildx-action@v3
19
20
- name: Build
+ name: Build and push
21
uses: docker/build-push-action@v5
22
with:
23
context: .
24
file: ./Dockerfile
25
push: false
26
+ tags: |
27
+ xcsoft/busuanzi:${{ github.ref_name }}
28
build:
29
30
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM golang:1.21-alpine AS builder
+FROM golang:1.22-alpine AS builder
2
WORKDIR /app
3
4
#ENV GOPROXY=https://goproxy.cn,direct
0 commit comments