New approach
Build KX3DEX.radio / Build and Deploy (push) Failing after 8m38s Details

master
Dex 2024-03-29 15:56:37 -04:00
parent dc90d2ac4d
commit 6dcae4ffa8
2 changed files with 11 additions and 13 deletions

View File

@ -58,15 +58,14 @@ jobs:
-H "Authorization: token ${{ secrets.action_token }}" \
https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets
- 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 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 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
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: |
linux/amd64
linux/arm64
push: true
tags: |
gitea.simplysyncedllc.com/dex/kx3dex_radio:latest

View File

@ -1,6 +1,5 @@
# Install dependencies only when needed
FROM node:18-alpine3.19 AS deps
RUN yarn config set network-timeout 300000
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json yarn.lock ./