diff --git a/.gitea/workflows/merge-master-tag-deploy.yaml b/.gitea/workflows/merge-master-tag-deploy.yaml index ef903cf..7c34ecb 100644 --- a/.gitea/workflows/merge-master-tag-deploy.yaml +++ b/.gitea/workflows/merge-master-tag-deploy.yaml @@ -53,20 +53,14 @@ jobs: https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets - - name: Build Docker container and put in gitea registry. + - name: Build amd64/arm64 Docker containers and put in gitea registry. run: | echo "${{ secrets.action_token }}" | docker login gitea.simplysyncedllc.com -u dex --password-stdin - docker build -t gitea.simplysyncedllc.com/dex/kx3dex_radio:latest . + docker buildx build --platform linux/amd64,linux/arm64 -t gitea.simplysyncedllc.com/dex/kx3dex_radio:latest . docker push gitea.simplysyncedllc.com/dex/kx3dex_radio:latest - - name: Build Docker for arm64 - uses: docker/build-push-action@v4 - if: ${{ gitea.ref_name != 'latest' }} - with: - context: . - platforms: linux/arm64 - build-args: | - VERSION=${{ gitea.ref_name }} - push: true - tags: | - gitea.simplysyncedllc.com/dex/kx3dex_radio:${{ gitea.ref_name }} +# - name: Build arm64 Docker container and put in gitea registry. +# run: | +# echo "${{ secrets.action_token }}" | docker login gitea.simplysyncedllc.com -u dex --password-stdin +# docker buildx build --platform -t gitea.simplysyncedllc.com/dex/kx3dex_radio:latest . +# docker push gitea.simplysyncedllc.com/dex/kx3dex_radio:latest diff --git a/Dockerfile b/Dockerfile index a966ea8..94d88f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,5 +40,4 @@ EXPOSE 3000 ENV PORT 3000 ENV HOSTNAME "0.0.0.0" - CMD ["node", "server.js"]