Fix bug in Multi-Arch workflow for gitea
All checks were successful
Multi-Arch Build / docker (release) Successful in 5m52s

This commit is contained in:
Reza Behzadan 2025-01-03 12:16:51 -05:00
parent 86784bfc18
commit c2681de784

View File

@ -11,13 +11,6 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 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 - name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3
@ -43,5 +36,5 @@ jobs:
NODE_ENV=production NODE_ENV=production
tags: | tags: |
dcr.behzadan.com/reza/wireguard-3proxy:latest 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 }}