Skip to content

Commit 4e52be2

Browse files
committed
upgraded build to allow tags for docker image
1 parent 5f31f49 commit 4e52be2

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ jobs:
2020
id: go
2121

2222
- name: Checkout code
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
24+
fetch-depth: 50
25+
fetch-tags: true
26+
show-progress: true
2427

2528
- name: Check go mod tidy is up to date
2629
run: go mod tidy && git diff --exit-code

.github/workflows/publish.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ jobs:
3636

3737
steps:
3838
- name: Checkout code
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v4
40+
fetch-depth: 50
41+
fetch-tags: true
42+
show-progress: true
4043

4144
- name: Set version
4245
id: vars
@@ -77,7 +80,10 @@ jobs:
7780
contents: read
7881
steps:
7982
- name: Check out the repo
80-
uses: actions/checkout@v3
83+
uses: actions/checkout@v4
84+
fetch-depth: 50
85+
fetch-tags: true
86+
show-progress: true
8187

8288
- name: Log in to Docker Hub
8389
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9

0 commit comments

Comments
 (0)