Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyd3d committed Aug 23, 2024
1 parent f0b1415 commit 960112b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,13 @@ jobs:

- name: Check if release exists in remote repo
run: |
echo "IMAGE_STABLE=kennyd3d/${{ env.ARTIFACT_NAME }}:${{ github.event.inputs.RELEASE }}" >> $GITHUB_ENV
if ! docker manifest inspect ${{ env.IMAGE_STABLE }} > /dev/null 2>&1; then
echo '# ❌ Failed Stable Deployment: ${{ env.IMAGE_STABLE }} not found in artifactory' >> $GITHUB_STEP_SUMMARY
IMAGE_STABLE="kennyd3d/${{ env.ARTIFACT_NAME }}:${{ github.event.inputs.RELEASE }}"
echo "IMAGE_STABLE=$IMAGE_STABLE" >> $GITHUB_ENV
if ! docker manifest inspect $IMAGE_STABLE > /dev/null 2>&1; then
echo "❌ Failed Stable Deployment: $IMAGE_STABLE not found in artifactory" >> $GITHUB_STEP_SUMMARY
exit 1
fi
- name: Deploy release to stable
run: |
echo "Test to deploy to Stable k8 using image ${{ env.IMAGE_STABLE }}"
Expand Down

0 comments on commit 960112b

Please sign in to comment.