Skip to content

Commit

Permalink
chor(ci): use $GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
ddfreiling committed May 14, 2024
1 parent 97d5713 commit 1fd6605
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: publish helm chart

on:
workflow_dispatch:
push:
branches: ["ci"]
workflow_run:
workflows: ["build & publish"]
types:
- completed

jobs:
chart:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
id: version
run: |
APP_VERSION=$(grep "Software_Version = " api/common_server.go | awk '{print $3}' | sed 's/"//g')
echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
echo "appVersion=$APP_VERSION" >> "$GITHUB_OUTPUT"
# Build lcpserver
- name: Extract image metadata
Expand All @@ -45,7 +45,7 @@ jobs:
latest
type=sha
type=ref,event=branch
${{ steps.version.outputs.APP_VERSION }}
${{ steps.version.outputs.appVersion }}
- name: Build LCP Server
uses: docker/[email protected]
with:
Expand All @@ -67,7 +67,7 @@ jobs:
latest
type=sha
type=ref,event=branch
${{ steps.version.outputs.APP_VERSION }}
${{ steps.version.outputs.appVersion }}
- name: Build LSD Server
uses: docker/[email protected]
with:
Expand Down

0 comments on commit 1fd6605

Please sign in to comment.