From 66890d94593fb4080c2feed3fbd4f0c247423f83 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Thu, 7 May 2020 11:36:01 +1000 Subject: [PATCH] set custom env --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3206710..afe0c03 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,9 @@ jobs: - name: Build and publish image uses: matootie/github-docker@v2.2.2 + env: + IMAGE_TAG: v1.0.$GITHUB_RUN_NUMBER with: username: wahyd4 accessToken: ${{ secrets.GITHUB_TOKEN }} - imageTag: v1.0.${{env.GITHUB_RUN_NUMBER}} + imageTag: ${{env.IMAGE_TAG}}