Test new version method.
Build KX3DEX.radio / Build and Deploy (push) Failing after 30m43s
Details
Build KX3DEX.radio / Build and Deploy (push) Failing after 30m43s
Details
parent
6e12955241
commit
84b0d5923d
|
@ -13,15 +13,18 @@ jobs:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Docker meta
|
- uses: actions/github-script@v7
|
||||||
id: meta
|
id: set-result
|
||||||
uses: docker/metadata-action@v5
|
|
||||||
with:
|
with:
|
||||||
images: |
|
script: |
|
||||||
Dex/kx3dex_radio
|
var fs = require("fs")
|
||||||
tags: |
|
var content = fs.readFileSync("package.json", { encoding: 'utf8', flag: 'r' })
|
||||||
type=semver,pattern={{version}}
|
var pkg = JSON.parse(content)
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
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
|
||||||
|
@ -77,4 +80,6 @@ jobs:
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/arm64
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: |
|
||||||
|
gitea.simplysyncedllc.com/dex/kx3dex_radio:latest
|
||||||
|
gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}
|
||||||
|
|
Loading…
Reference in New Issue