Skip to content

Commit 9f46ae2

Browse files
author
Alan Christie
committed
ci: Tag build only runs for unofficial tags
1 parent 3bdb53b commit 9f46ae2

File tree

1 file changed

+2
-32
lines changed

1 file changed

+2
-32
lines changed

.github/workflows/build-tag.yaml

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ on:
3030
push:
3131
tags:
3232
- '**'
33+
- '![0-9]+.[0-9]+'
34+
- '![0-9]+.[0-9]+.[0-9]+'
3335

3436
jobs:
3537
publish-tag:
@@ -60,35 +62,3 @@ jobs:
6062
docker push squonk/fragnet-depict:${{ env.GITHUB_REF_SLUG }}
6163
docker tag squonk/fragnet-search:latest squonk/fragnet-search:${{ env.GITHUB_REF_SLUG }}
6264
docker push squonk/fragnet-search:${{ env.GITHUB_REF_SLUG }}
63-
64-
# Deploy 'Depict'
65-
# (to the AWX/im-main Environment)
66-
trigger-awx-depict:
67-
needs: build-and-push-latest
68-
runs-on: ubuntu-latest
69-
environment: awx/im-main
70-
steps:
71-
- uses: informaticsmatters/trigger-awx-action@v1
72-
with:
73-
template: FragnetDepict
74-
template-host: ${{ secrets.AWX_HOST }}
75-
template-user: ${{ secrets.AWX_USER }}
76-
template-user-password: ${{ secrets.AWX_USER_PASSWORD }}
77-
template-var: fs_image_tag
78-
template-var-value: latest
79-
80-
# Deploy 'Search API'
81-
# (to the AWX/DLS Development Environment)
82-
trigger-awx-search:
83-
needs: build-and-push-latest
84-
runs-on: ubuntu-latest
85-
environment: awx/dls-dev
86-
steps:
87-
- uses: informaticsmatters/trigger-awx-action@v1
88-
with:
89-
template: FragnetSearch API
90-
template-host: ${{ secrets.AWX_HOST }}
91-
template-user: ${{ secrets.AWX_USER }}
92-
template-user-password: ${{ secrets.AWX_USER_PASSWORD }}
93-
template-var: fs_image_tag
94-
template-var-value: latest

0 commit comments

Comments
 (0)