Skip to content

Commit

Permalink
Only clean up docker container if it was spined up
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhung committed Jul 2, 2024
1 parent b93f9ef commit 0f56ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
cp sample.tf.tmp sample.tf && rm sample.tf.tmp
TERRAFORM_CLI=${{ matrix.cli }} make install
- name: Clean up Docker container
if: always()
if: always() && ${{ steps.run_artifactory_container.outcome == 'success' }}
run: docker stop artifactory
- name: Send workflow status to Slack
uses: slackapi/[email protected]
Expand Down

0 comments on commit 0f56ee7

Please sign in to comment.