Skip to content

Commit

Permalink
Changes to github api for fetching latest release of mailcatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
haravich committed Aug 13, 2023
1 parent 36f5932 commit cc533ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
OWNER: sj26
REPO: mailcatcher

jobs:
build:
Expand All @@ -28,7 +26,7 @@ jobs:
- name: Run curl command to get latest version
id: curl_output
run: |
response=$(curl -s "https://api.github.com/repos/${{ OWNER }}/${{ REPO }}/releases/latest")
response=$(curl -s "https://api.github.com/repos/sj26/mailcatcher/releases/latest")
# Parse and extract tag_name from the JSON response
tag_name=$(echo $response | jq -r '.tag_name')
Expand Down

0 comments on commit cc533ca

Please sign in to comment.