Skip to content

Commit

Permalink
feat(deploy): use github.sha
Browse files Browse the repository at this point in the history
  • Loading branch information
bezysoftware committed Oct 5, 2024
1 parent d11848e commit 0cc3dcb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
if [[ "${GITHUB_REF##*/}" == "main" ]]; then
echo "IMAGE_TAG=latest" >> $GITHUB_OUTPUT
else
echo "IMAGE_TAG=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
echo "IMAGE_TAG=${GITHUB_SHA}" >> $GITHUB_OUTPUT
fi
- name: Build and push
Expand Down Expand Up @@ -87,4 +87,5 @@ jobs:
NETSTR_IMAGE: "ghcr.io/bezysoftware/netstr:${{ env.IMAGE_TAG }}"
NETSTR_ENVIRONMENT: dev
NETSTR_ENVIRONMENT_LONG: Development
NETSTR_PORT: 8081
NETSTR_PORT: 8081
RelayInformation__Version: ${{ github.sha }}

0 comments on commit 0cc3dcb

Please sign in to comment.