From 33481774702bac98a1beb2c8a5d05db78f7b57c0 Mon Sep 17 00:00:00 2001 From: 0xJacky Date: Sat, 6 Aug 2022 12:03:55 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ff15155..d1208cdd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,6 +106,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Get the version + id: get_version + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + - name: Set up Go uses: actions/setup-go@v2 with: @@ -215,3 +219,4 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: | uozi/nginx-ui:latest + uozi/nginx-ui:${{ steps.get_version.outputs.VERSION }}