Skip to content

Commit 1e34984

Browse files
committed
fix: pass tag to release-images action on both pre and release
1 parent 0016e3e commit 1e34984

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/actions/release-images/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ inputs:
2020
required: true
2121
description: "Digital Ocean spaces region"
2222
tag:
23+
required: true
2324
description: "The tag version of the release"
2425
runs:
2526
using: "composite"

.github/workflows/balena-tag-pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
balena_fleet: "${{ secrets.BALENA_FLEET }}${{ matrix.fleet_var }}"
6666
balena_device: ${{ matrix.image }}
6767
tag: ${{ needs.balena-deploy.outputs.github_tag }}
68-
# balena_commit: ${{ needs.balena-deploy.outputs.balena_release}}
6968

7069
github-release:
7170
runs-on: ubuntu-latest
@@ -83,3 +82,4 @@ jobs:
8382
secret_key: ${{ secrets.SECRET_KEY }}
8483
space_name: ${{ secrets.SPACE_NAME }}
8584
space_region: ${{ secrets.SPACE_REGION }}
85+
tag: ${{ needs.balena-deploy.outputs.github_tag }}

.github/workflows/balena-tag-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
secret_key: ${{ secrets.SECRET_KEY }}
8484
space_name: ${{ secrets.SPACE_NAME }}
8585
space_region: ${{ secrets.SPACE_REGION }}
86+
tag: ${{ needs.balena-deploy.outputs.github_tag }}
8687

8788
#TODO: Download and inject content into the image
8889
# - name: Mount Image

0 commit comments

Comments
 (0)