Skip to content

Add Stack Deploy Options #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Mar 11, 2025
Merged

Add Stack Deploy Options #22

merged 17 commits into from
Mar 11, 2025

Conversation

smashedr
Copy link
Member

@smashedr smashedr commented Mar 10, 2025

For #21

Adds 3 new inputs: [detach, prune, resolve_image]

  • If you set detach to anything but true it will add --detach=false
  • If you set prune to anything but false it will add --prune
  • If you set resolve_image to changed or never it will add --resolve-image=changed|never

Setting resolve_image to anything other than always, changed, never creates an Error annotation and uses default (omits the argument).

Also adds deploy command to the output and job summary to assist with debugging.

Output/Summary: https://github.com/cssnr/stack-deploy-action/actions/workflows/test.yaml?query=branch%3Adeploy
README.md: https://github.com/cssnr/stack-deploy-action/tree/deploy?tab=readme-ov-file#readme

Use: uses: cssnr/stack-deploy-action@deploy

@smashedr smashedr merged commit a1a65cb into master Mar 11, 2025
3 checks passed
@smashedr smashedr deleted the deploy branch March 11, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants