Skip to content

Commit

Permalink
Merge pull request #47 from kennyd3d/workflow-dropdown
Browse files Browse the repository at this point in the history
fix variable name
  • Loading branch information
kennyd3d authored Aug 23, 2024
2 parents fafe05c + 960112b commit 17794ce
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 17794ce

Please sign in to comment.