Closed orangejulius closed 3 years ago
Okay, as I suspected, simply making the docker images job depend on the npm-publish
job means that it just doesn't run except on the master branch. Time to dive into the Github Action docs :)
Finally got this working, there's some fairly cryptic behavior from GitHub actions that has to be worked around: the if
check is not the only thing that determines if a job will run, unless it includes one of the job status check functions
As discussed in https://github.com/pelias/ci-tools/pull/7, we need to build the Docker images after we publish any new versions, so that the git tag for the version is present.
This lets us publish a Docker image corresponding to the tag.