Compare commits
9 Commits
kx3dex_rad
...
master
Author | SHA1 | Date |
---|---|---|
Robert Burgess | ff979a2cfc | |
Dex | d6958ea3ea | |
Dex | 221d7f9c72 | |
Dex | 84b0d5923d | |
Dex | 6e12955241 | |
Dex | 571d5558b1 | |
Dex | 38ad6bbe53 | |
Dex | fe7bbf995f | |
Dex | d44acad05c |
|
@ -13,21 +13,32 @@ jobs:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/github-script@v7
|
||||||
|
id: set-result
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
var fs = require("fs")
|
||||||
|
var content = fs.readFileSync("package.json", { encoding: 'utf8', flag: 'r' })
|
||||||
|
var pkg = JSON.parse(content)
|
||||||
|
return pkg.version
|
||||||
|
result-encoding: string
|
||||||
|
|
||||||
|
- name: Get result
|
||||||
|
run: echo "gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}"
|
||||||
|
|
||||||
- name: Install QEMU
|
- name: Install QEMU
|
||||||
run: apt-get update && apt-get install -y qemu-user-static
|
run: apt-get update && apt-get install -y qemu-user-static
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Available platforms
|
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18.20.0'
|
node-version: '18.20.0'
|
||||||
|
|
||||||
- name: Create a new release and publish package.
|
- name: Create a new release and publish package.
|
||||||
|
id: release
|
||||||
run: |
|
run: |
|
||||||
CURR_VER="$(cat package.json | jq -r .name)_v$(cat package.json | jq -r .version)"
|
CURR_VER="$(cat package.json | jq -r .name)_v$(cat package.json | jq -r .version)"
|
||||||
CURR_NAME="$(cat package.json | jq -r .name) v$(cat package.json | jq -r .version)"
|
CURR_NAME="$(cat package.json | jq -r .name) v$(cat package.json | jq -r .version)"
|
||||||
|
@ -58,6 +69,7 @@ jobs:
|
||||||
curl \
|
curl \
|
||||||
-X POST \
|
-X POST \
|
||||||
-H "Authorization: token ${{ secrets.ACTION_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.ACTION_TOKEN }}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
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 and push
|
||||||
|
@ -69,4 +81,5 @@ jobs:
|
||||||
linux/arm64
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
gitea.simplysyncedllc.com/dex/kx3dex_radio:${RELEASE_ID}
|
gitea.simplysyncedllc.com/dex/kx3dex_radio:latest
|
||||||
|
gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}
|
||||||
|
|
|
@ -4,8 +4,6 @@ RUN apk add --no-cache libc6-compat
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn config set network-timeout 100000
|
RUN yarn config set network-timeout 100000
|
||||||
#RUN apk add g++ make py3-pip
|
|
||||||
#RUN yarn global add node-gyp
|
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
|
|
||||||
# Rebuild the source code only when needed
|
# Rebuild the source code only when needed
|
||||||
|
|
|
@ -9,7 +9,7 @@ export default async function Home() {
|
||||||
if there is anything you have for suggestions on projects you'd like to see a writeup on email me at bluebulletrl@gmail.com. Still need to setup email for this domain.
|
if there is anything you have for suggestions on projects you'd like to see a writeup on email me at bluebulletrl@gmail.com. Still need to setup email for this domain.
|
||||||
</div>
|
</div>
|
||||||
<div className="grid grid-cols-1 md:grid-cols-1 mt-5 gap-5">
|
<div className="grid grid-cols-1 md:grid-cols-1 mt-5 gap-5">
|
||||||
Coming soon will be an updated DexNet guide that will include Meshtastic Information.
|
Coming soon will be an updated DexNet guide that will include Meshtastic Information. New document will be uploaded End of August.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "kx3dex_radio",
|
"name": "kx3dex_radio",
|
||||||
"version": "1.3.0",
|
"version": "1.3.5",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|
Loading…
Reference in New Issue