Skip to content

Commit

Permalink
Apply version fix to runtime image
Browse files Browse the repository at this point in the history
  • Loading branch information
doganulus committed Feb 1, 2025
1 parent c4148a2 commit 8566ccc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/buildah-build-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,13 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get the latest version
run: echo "ESMINI_LATEST_VERSION=$(curl -sL "https://api.github.com/repos/esmini/esmini/releases/latest" | jq -r '.tag_name')" >> $GITHUB_ENV

- name: Prepare environment variables
run: |
if [ "${{ env.ESMINI_VERSION }}" == "latest" ]; then
echo "ESMINI_VERSION=$(curl -sL "https://api.github.com/repos/esmini/esmini/releases/latest" | jq -r '.tag_name')" >> $GITHUB_ENV
fi
echo "ESMINI_LATEST_VERSION=$(curl -sL "https://api.github.com/repos/esmini/esmini/releases/latest" | jq -r '.tag_name')" >> $GITHUB_ENV
- name: Create and push manifest list for esmini-builder
run: |
MANIFEST=esmini-runtime
Expand Down

0 comments on commit 8566ccc

Please sign in to comment.