Skip to content

Commit 965ce14

Browse files
committed
Fix github docker publish
1 parent 59d2719 commit 965ce14

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/bump-version.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8-
push:
9-
branches:
10-
- main
118
workflow_dispatch:
129
inputs:
1310
version:

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,16 @@ jobs:
8484
steps:
8585
- uses: actions/checkout@v5
8686
- name: Build
87-
id: build
8887
run: docker build --build-arg NODE_VERSION=${{matrix.node_version}} --output type=local,dest=./host-artifacts .
8988
- name: Output
89+
id: asset
9090
run: |
9191
cd host-artifacts/out
9292
echo "asset=$(echo *.tar.gz)" >> "$GITHUB_OUTPUT"
9393
- name: Upload release asset
9494
run: |
9595
git config --global --add safe.directory $(pwd)
96-
gh release upload ${{ github.event.release.tag_name }}${{ github.event.inputs.name }} host-artifacts/out/${{ steps.build.outputs.asset }} --clobber
96+
gh release upload ${{ github.event.release.tag_name }}${{ github.event.inputs.name }} host-artifacts/out/${{ steps.asset.outputs.asset }} --clobber
9797
env:
9898
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9999

0 commit comments

Comments
 (0)