diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 8a92671..d828a16 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.2.2 + uses: actions/checkout@vmaster with: fetch-depth: 0 # Fetch full history fetch-tags: true # Fetch all tags (refs/tags) @@ -78,13 +78,13 @@ jobs: echo "tag=$prev" >> "$GITHUB_OUTPUT" - - name: Build and store Docker image + - name: Build and store Docker image for multiple architectures if: ${{ github.event.inputs.docker_release == 'true' }} run: | REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]') docker buildx build \ - --platform linux/amd64 \ + --platform linux/amd64,linux/arm64 \ --tag ${{ secrets.REGISTRY }}/${REPO_NAME}:latest \ --tag ${{ secrets.REGISTRY }}/${REPO_NAME}:${{ env.VERSION }} \ --push .