phalcon / docker

Official docker images with Phalcon framework.
MIT License
10 stars 1 forks source link

Possibly automate version builds #6

Open niden opened 2 years ago

niden commented 2 years ago

I am not sure if this is feasible.

For now, the dockerfiles contain the version of Phalcon in a variable

ARG PHALCON_VERSION=5.0.4

I am wondering if there is a way to change that and thus initiate a build whenever we release in the main repository.

MilesChou commented 2 years ago

It's possible for Automatic build In Docker Hub, it's can trigger by tag and pass the tag as build arg. But Automatic build is non-free.

At GitHub Action, maybe this article can help us. Use the GitHub API.

Jeckerson commented 2 years ago

Yes, it is possible to. Make matrix with Phalcon version dynamic.