actions/deploy-manual: checkout before tag creation for git data
@@ -27,6 +27,11 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
registry: quay.io
+ - name: checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+
- name: create tag
id: tag
run: |
@@ -38,11 +43,6 @@ jobs:
fi
echo ::set-output name=tag::${IMG}:${TAG}
- - name: checkout
- uses: actions/checkout@v2
- with:
- fetch-depth: 1
-
- name: build and push
uses: docker/build-push-action@v2
with:
