voxpupuli / container-puppetdb

Container image for PuppetDB
Apache License 2.0
9 stars 11 forks source link

Update and fix GitHub Actions release workflow #16

Closed ldaneliukas closed 10 months ago

ldaneliukas commented 10 months ago

The current workflow passes a build argument PUPPET_VERSION whilst the Dockerfile does not use it, instead it expects PUPPETDB_VERSION.

Reworked the workflow so that the same job can be used to release different versions of PuppetDB depending the tag that triggered the workflow run.

ldaneliukas commented 10 months ago

It worked on v7 as the fallback was set to v7 in case the env var was missing. Tried to deploy v8 in my fork and ran into this 💥

rwaffen commented 10 months ago

🤦 ah okay, my mistake was to only test it with puppet7 😣