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 }}