GH Actions: Update Release action, clarify versioning (#5794)

This commit is contained in:
Austin
2025-01-08 21:43:24 -05:00
committed by GitHub
parent 33e5a04508
commit 8aac9f2e8e
11 changed files with 67 additions and 98 deletions

View File

@@ -18,7 +18,7 @@ jobs:
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Get release version string
run: echo "version=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
run: echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
id: version
- name: Docker login
@@ -39,7 +39,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: meshtastic/meshtasticd:${{ steps.version.outputs.version }}
tags: meshtastic/meshtasticd:${{ steps.version.outputs.long }}
- name: Docker build and push
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }}