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 b558430 commit 5abf307Copy full SHA for 5abf307
.github/workflows/enterprise-release.yaml
@@ -31,6 +31,16 @@ jobs:
31
DOCKER_CLI_EXPERIMENTAL: "enabled"
32
steps:
33
- uses: actions/checkout@v3
34
+ with:
35
+ fetch-depth: 0
36
+
37
+ # If the event that triggered the build was an annotated tag (which our
38
+ # tags are supposed to be), actions/checkout has a bug where the tag in
39
+ # question is only a lightweight tag and not a full annotated tag. This
40
+ # command seems to fix it.
41
+ # https://github.com/actions/checkout/issues/290
42
+ - name: Fetch git tags
43
+ run: git fetch --tags --force
44
45
- name: Docker Login
46
uses: docker/login-action@v2
0 commit comments