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 }}" \ -H "Authorization: token ${{ secrets.action_token }}" \
https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets
- name: Build and push
- name: Build amd64/arm64 Docker containers and put in gitea registry. uses: docker/build-push-action@v5
run: | with:
echo "${{ secrets.action_token }}" | docker login gitea.simplysyncedllc.com -u dex --password-stdin context: .
docker buildx build --platform linux/amd64,linux/arm64 -t gitea.simplysyncedllc.com/dex/kx3dex_radio:latest . file: ./Dockerfile
docker push gitea.simplysyncedllc.com/dex/kx3dex_radio:latest platforms: |
linux/amd64
# - name: Build arm64 Docker container and put in gitea registry. linux/arm64
# run: | push: true
# echo "${{ secrets.action_token }}" | docker login gitea.simplysyncedllc.com -u dex --password-stdin tags: |
# docker buildx build --platform -t gitea.simplysyncedllc.com/dex/kx3dex_radio:latest . gitea.simplysyncedllc.com/dex/kx3dex_radio:latest
# docker push gitea.simplysyncedllc.com/dex/kx3dex_radio:latest

View File

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