decidim / docker

Docker images for decidim
https://decidim.org
12 stars 18 forks source link

Push all image tags on builds #82

Closed oliverbarnes closed 3 years ago

oliverbarnes commented 3 years ago

The latest build didn't push the last 0.23.2 version tag, though it did correctly detect it:

echo ::set-output name=version::$(echo v0.23.2 | cut -c2-)

This adds the --all-tags option to docker push. Testing it first on pull request, and so setting this to draft until it's confirmed to be working.

Confirmed working. Here are the builds:

https://github.com/decidim/docker/actions/runs/561383630 https://github.com/decidim/docker/actions/runs/561383631

And correctly tagged images:

https://github.com/orgs/decidim/packages/container/decidim/versions https://hub.docker.com/r/decidim/decidim/tags?page=1&ordering=last_updated

I've switched the workflow back to on.push and the PR is ready to merge