work for branches and tags
This commit is contained in:
4
.github/workflows/runtests.yml
vendored
4
.github/workflows/runtests.yml
vendored
@@ -136,8 +136,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Get the Tag
|
- name: Get the Tag
|
||||||
run: |
|
run: |
|
||||||
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
echo "TAG=${GITHUB_REF#refs/(heads/tags)/}" >> $GITHUB_ENV
|
||||||
echo "IMAGE_ROOT=netdisco:${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
echo "IMAGE_ROOT=netdisco:${GITHUB_REF#refs/(heads|tags)/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build netdisco-postgresql
|
- name: Build netdisco-postgresql
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user