From c2681de7847fc206d4c855c0f6b7702489d4acc6 Mon Sep 17 00:00:00 2001 From: Reza Behzadan Date: Fri, 3 Jan 2025 12:16:51 -0500 Subject: [PATCH] Fix bug in Multi-Arch workflow for gitea --- .gitea/workflows/multi-arch.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.gitea/workflows/multi-arch.yml b/.gitea/workflows/multi-arch.yml index efec96a..7436c2d 100644 --- a/.gitea/workflows/multi-arch.yml +++ b/.gitea/workflows/multi-arch.yml @@ -11,13 +11,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Read version - id: version - run: | - VERSION=$(node -p "require('./package.json').version") - BUILD_VERSION="${VERSION}.${GITHUB_RUN_NUMBER}" - echo "build_version=${BUILD_VERSION}" >> $GITHUB_OUTPUT - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -43,5 +36,5 @@ jobs: NODE_ENV=production tags: | dcr.behzadan.com/reza/wireguard-3proxy:latest - dcr.behzadan.com/reza/wireguard-3proxy:${{ steps.version.outputs.BUILD_VERSION }} + dcr.behzadan.com/reza/wireguard-3proxy:${{ gitea.ref_name }}