Skip to content

Commit 6117618

Browse files
committed
Set API URL by ENV
1 parent 3dfc376 commit 6117618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/service_docker-build-and-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
if: inputs.checkout-type == 'latest-stable'
5656
id: latest-stable-version
5757
run: |
58-
echo "LATEST_STABLE_VERSION=$(curl --silent --header "Accept: application/vnd.github.v3.sha" "https://api.github.com/repos/jaydrogers/github-actions-test/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')" >> $GITHUB_OUTPUT
58+
echo "LATEST_STABLE_VERSION=$(curl --silent --header "Accept: application/vnd.github.v3.sha" "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')" >> $GITHUB_OUTPUT
5959
6060
- name: Confirm release tag
6161
if: inputs.checkout-type == 'latest-stable'

0 commit comments

Comments
 (0)