Skip to content

Commit

Permalink
Fixed attempt on the problem on CD
Browse files Browse the repository at this point in the history
  • Loading branch information
eerkunt authored Jan 15, 2021
1 parent 83c57a0 commit 46c736e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
env:
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*
run: twine upload dist/* || true

- name: Publish to Docker Hub
env:
IMAGE_NAME: 'eerkunt/terraform-compliance'
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
run : |
sleep 15
sleep 120
echo "Getting the latest terraform version from Hashicorp"
echo "export LATEST_TERRAFORM_VERSION=$(curl https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r .current_version)" > terraform_version.sh
source terraform_version.sh
Expand Down

0 comments on commit 46c736e

Please sign in to comment.