diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 0c71569..2239408 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -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/slack-github-action@v1.26.0