Skip to content

Commit dcbd096

Browse files
fix: reorder checkout of latest tag in Docker workflow
1 parent 1c34bd2 commit dcbd096

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/docker.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717
fetch-depth: 0
1818
fetch-tags: true
1919

20-
- name: Checkout latest tag
21-
run: |
22-
export LATEST_TAG=`git describe --tags --abbrev=0`
23-
git checkout $LATEST_TAG
24-
2520
- name: Dotenv Action
2621
id: dotenv
2722
uses: falti/dotenv-action@v1
2823
with:
2924
path: .github/workflows/env
3025
log-variables: true
3126

27+
- name: Checkout latest tag
28+
run: |
29+
export LATEST_TAG=`git describe --tags --abbrev=0`
30+
git checkout $LATEST_TAG
31+
3232
- name: Set up Go ${{ steps.dotenv.outputs.go_version }}
3333
uses: actions/setup-go@v6
3434
with:

0 commit comments

Comments
 (0)