There was an error while loading. Please reload this page.
1 parent c50e117 commit cb2b785Copy full SHA for cb2b785
1 file changed
.github/workflows/pipeline.yml
@@ -37,6 +37,8 @@ jobs:
37
38
build-and-publish:
39
name: Create and push Docker image
40
+ outputs:
41
+ image_version: ${{ steps.meta.outputs.version }}
42
needs: lint-and-test
43
# if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
44
runs-on: ubuntu-latest
@@ -91,7 +93,7 @@ jobs:
91
93
with:
92
94
CLUSTER_NAME: "hstk8s"
95
ENVIRONMENT: stage
- IMAGE_VERSION: ${{ env.APP_VERSION }}
96
+ IMAGE_VERSION: ${{ needs.build-and-publish.outputs.image_version }}
97
secrets:
98
VAULT_URL: ${{ secrets.NB_VAULT_URL }}
99
VAULT_SECRET_PATH: ${{ secrets.TEKST_VAULT_SECRET_PATH }}
0 commit comments