Skip to content

Commit 3c82780

Browse files
committed
Make sure the containers are build using the latest git tag
1 parent d1b4647 commit 3c82780

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ jobs:
1818

1919
name: Build and deploy container
2020
steps:
21-
22-
- name: Check out code for the container builds
21+
- name: Check out the latest tag of the repo
2322
uses: actions/checkout@v4
23+
with:
24+
ref: $(git describe --tags --abbrev=0)
25+
fetch-depth: 0
2426

2527
- name: Build SIF image
2628
run: |

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ jobs:
1515
attestations: write
1616
id-token: write
1717
steps:
18-
- name: Check out the repo
18+
- name: Check out the latest tag of the repo
1919
uses: actions/checkout@v4
20+
with:
21+
ref: $(git describe --tags --abbrev=0)
22+
fetch-depth: 0
2023

2124
- name: Log in to Docker Hub
2225
uses: docker/login-action@v3

docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## [4.6.1] - 2025-03-28
88

99
### Fixed
10-
- A usability regression that could render a main windows that is larger than the screen
10+
- A usability regression that could render a main window that is larger than the screen
1111

1212
## [4.6.0] - 2025-03-25
1313

0 commit comments

Comments
 (0)