Skip to content

Commit 9d5d5a4

Browse files
authored
Merge pull request #245 from effigies/fix/docker
chore(ci): Fix actions/checkout invocation for tags
2 parents 3e688b4 + ddd296b commit 9d5d5a4

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
- name: Check out the repo
2424
uses: actions/checkout@v5
2525
with:
26-
fetch-tags: true
2726
fetch-depth: 200
2827
filter: blob:none
28+
# fetch-tags: true breaks on tags
29+
fetch-tags: ${{ !startsWith(github.ref, 'refs/tags/') }}
2930

3031
- name: Log in to Docker Hub
3132
if: github.event_name == 'push'
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!--
2+
A new scriv changelog fragment.
3+
4+
Uncomment the section that is right (remove the HTML comment wrapper).
5+
For top level release notes, leave all the headers commented out.
6+
-->
7+
8+
<!--
9+
### Added
10+
11+
- A bullet item for the Added category.
12+
13+
-->
14+
<!--
15+
### Changed
16+
17+
- A bullet item for the Changed category.
18+
19+
-->
20+
### Fixed
21+
22+
- Docker build workflow should now run correctly on releases.
23+
24+
<!--
25+
### Deprecated
26+
27+
- A bullet item for the Deprecated category.
28+
29+
-->
30+
<!--
31+
### Removed
32+
33+
- A bullet item for the Removed category.
34+
35+
-->
36+
<!--
37+
### Security
38+
39+
- A bullet item for the Security category.
40+
41+
-->
42+
<!--
43+
### Infrastructure
44+
45+
- A bullet item for the Infrastructure category.
46+
47+
-->

0 commit comments

Comments
 (0)