refactor: change git-tag job's needs syntax to list

List syntax is better for version control.

PR: #36
This commit is contained in:
innovaker 2021-05-14 19:12:34 +01:00
parent 18a92c3f0a
commit 30e68c8be2

View File

@ -120,8 +120,9 @@ jobs:
docker push ghcr.io/${{ github.repository_owner }}/${{ steps.vars.outputs.versions-tag }}
docker push ghcr.io/${{ github.repository_owner }}/${{ steps.vars.outputs.latest-tag }}
git-tag:
needs:
- docker
runs-on: ubuntu-latest
needs: docker
if: ${{ startsWith(github.ref, 'refs/tags') }}
steps:
- name: Prepare variables