Test pulling version
Build KX3DEX.radio / Build and Deploy (push) Failing after 35s Details

master
Dex 2024-05-06 16:06:30 -04:00
parent 38ad6bbe53
commit 571d5558b1
1 changed files with 3 additions and 4 deletions

View File

@ -19,15 +19,13 @@ jobs:
- 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)"
@ -70,4 +68,5 @@ jobs:
linux/arm64 linux/arm64
push: true push: true
tags: | tags: |
gitea.simplysyncedllc.com/dex/kx3dex_radio:${CURR_VER} gitea.simplysyncedllc.com/dex/kx3dex_radio:latest
gitea.simplysyncedllc.com/dex/kx3dex_radio:${{ steps.release.outputs.curr_ver }}