-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
circle.yml: deploy non-master branches #1535
circle.yml: deploy non-master branches #1535
Conversation
Look like you need to hit retry, I'd guess this is a spurious error. |
a163242
to
6351655
Compare
Rebased on master (with #1534 merged). It seems to pass with the other mirror dl-3.alpinelinux.org. |
branch: /^((?!master).)*$/ # not the master branch | ||
commands: | ||
- > | ||
test -z "DEPLOY_BRANCH" || test -z "${DOCKER_USER}" || ( |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
6351655
to
ece09b3
Compare
Updated. But the build fails now. I don't know why:
|
ece09b3
to
a0d9df2
Compare
By default, non-master branches are not deployed on the Docker Hub. With this patch, you can enable this feature by setting the environment variable DEPLOY_BRANCH in the circle configuration. It will not be tagged with the "latest" tag but instead derive the tag from the branch name. Since "/" are not allowed in Docker tag names, all "/" are replaced by "-". When testing code in Scope, I use circle to build the Docker image but I don't want to always use my "master" branch for development.
Rebased on master and Circle has built it fine. |
Thanks! Sorry I didn't get back to you; LGTM |
By default, non-master branches are not deployed on the Docker Hub. With
this patch, you can enable this feature by setting the environment
variable DEPLOY_BRANCH in the circle configuration.
It will not be tagged with the "latest" tag but instead derive the tag
from the branch name. Since "/" are not allowed in Docker tag names, all
"/" are replaced by "-".
When testing code in Scope, I use circle to build the Docker image but I
don't want to always use my "master" branch for development.
/cc @alepuccetti