Skip to content

Commit

Permalink
chor(ci): tag images with app-version
Browse files Browse the repository at this point in the history
  • Loading branch information
ddfreiling committed May 14, 2024
1 parent 5eb1124 commit 1db8922
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
registry: ${{ env.REGISTRY }}
username: nota-ci
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get version
id: version
run: |
APP_VERSION=$(grep "Software_Version = "$1"" $GIT_ROOT/api/common_server.go | awk '{print $3}' | sed 's/"//g')
echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
# Build lcpserver
- name: Extract image metadata
Expand All @@ -40,6 +45,7 @@ jobs:
latest
type=sha
type=ref,event=branch
${{ steps.version.outputs.APP_VERSION }}
- name: Build LCP Server
uses: docker/[email protected]
with:
Expand All @@ -61,6 +67,7 @@ jobs:
latest
type=sha
type=ref,event=branch
${{ steps.version.outputs.APP_VERSION }}
- name: Build LSD Server
uses: docker/[email protected]
with:
Expand Down

0 comments on commit 1db8922

Please sign in to comment.