Skip to content

Commit

Permalink
Added Volume to share terraform state accross scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
PranoSA committed Feb 22, 2024
1 parent e17ad84 commit 34fc340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
target: american
- name: test american image
run: |
docker run pcadler/unicode-terraform-plugin:american-latest
docker run -v terraform:/home/app/america-themed-app pcadler/unicode-terraform-plugin:american-latest
- name: run terraform destroy
run: |
docker run pcadler/unicode-terraform-plugin:american-latest terraform destroy -auto-approve
docker run --entrypoint "terraform" -v terraform:/home/app/america-themed-app pcadler/unicode-terraform-plugin:american-latest destroy -auto-approve
- name: Build and push amphibian image
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 34fc340

Please sign in to comment.