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 052de7c commit d1346f6Copy full SHA for d1346f6
.github/workflows/deploy-manual.yml
@@ -30,7 +30,7 @@ jobs:
30
- name: checkout
31
uses: actions/checkout@v2
32
with:
33
- fetch-depth: 0
+ fetch-depth: 1
34
35
- name: create tag
36
id: tag
@@ -39,7 +39,7 @@ jobs:
39
IMG=quay.io/${{ github.repository_owner }}/ansible-operator-base
40
TAG="${{ github.event.inputs.tag }}"
41
if [[ "$TAG" == "" ]]; then
42
- TAG=$(git describe --tags --always --dirty --long --abbrev=100)
+ TAG="$(git branch --show-current | sed -E 's|/+|-|g')-$(git rev-parse HEAD)"
43
fi
44
echo ::set-output name=tag::${IMG}:${TAG}
45
0 commit comments