refactor: change git-tag
job's needs
syntax to list
List syntax is better for version control. PR: #36
This commit is contained in:
parent
18a92c3f0a
commit
30e68c8be2
3
.github/workflows/containers.yml
vendored
3
.github/workflows/containers.yml
vendored
@ -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.versions-tag }}
|
||||||
docker push ghcr.io/${{ github.repository_owner }}/${{ steps.vars.outputs.latest-tag }}
|
docker push ghcr.io/${{ github.repository_owner }}/${{ steps.vars.outputs.latest-tag }}
|
||||||
git-tag:
|
git-tag:
|
||||||
|
needs:
|
||||||
|
- docker
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: docker
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags') }}
|
if: ${{ startsWith(github.ref, 'refs/tags') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare variables
|
- name: Prepare variables
|
||||||
|
Loading…
Reference in New Issue
Block a user