Skip to content

Commit 0e4c544

Browse files
author
Alan Christie
committed
build: tag action now deploys to production
1 parent 3c64656 commit 0e4c544

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-tag.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,35 @@ jobs:
6060
docker push squonk/fragnet-depict:${{ env.GITHUB_REF_SLUG }}
6161
docker tag squonk/fragnet-search:latest squonk/fragnet-search:${{ env.GITHUB_REF_SLUG }}
6262
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)