alexellis / derek

Reduce maintainer fatigue by automating GitHub
https://github.com/alexellis/derek/blob/master/USER_GUIDE.md
MIT License
808 stars 70 forks source link

Publishing Docker images is broken #129

Closed alexellis closed 5 years ago

alexellis commented 5 years ago

Expected Behaviour

New Docker images to appear upon release tag

Current Behaviour

Screenshot 2019-07-21 at 15 06 48

Possible Solution

Investigate and fix.

Steps to Reproduce (for bugs)

  1. Cut a release tag
  2. See error above
alexellis commented 5 years ago

Find the full logs here -> https://travis-ci.org/alexellis/derek/builds/561697455

alexellis commented 5 years ago

build.sh -> https://github.com/alexellis/derek/blob/master/build.sh .travis.yml -> https://github.com/alexellis/derek/blob/master/.travis.yml

I suspect that we are building to a different temporary tag, to the one which we are expecting when we re-tag and push that with the release name.

matipan commented 5 years ago

I think the problem might be that the build.sh is building the image using the name alexellis/derek:latest-dev but then in travis we are tagging/pushing using the following name: $DOCKER_NS/derek:[latest-dev,$TRAVIS_TAG]. However the $DOCKER_NS is set to openfaas instead of alexellis, which was the original username used to build the image.

affix commented 5 years ago

@matipan Yeah I've made build.sh use the $DOCKER_NS variable