{"action":"created","issue":{"url":"https://api.github.com/repos/wercker/support/issues/141","labels_url":"https://api.github.com/repos/wercker/support/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/wercker/support/issues/141/comments","events_url":"https://api.github.com/repos/wercker/support/issues/141/events","html_url":"https://github.com/wercker/support/issues/141","id":110707354,"number":141,"title":"Docker push tag environment variable no longer working","user":{"login":"nhumrich","id":4661889,"avatar_url":"https://avatars.githubusercontent.com/u/4661889?v=3","gravatar_id":"","url":"https://api.github.com/users/nhumrich","html_url":"https://github.com/nhumrich","followers_url":"https://api.github.com/users/nhumrich/followers","following_url":"https://api.github.com/users/nhumrich/following{/other_user}","gists_url":"https://api.github.com/users/nhumrich/gists{/gist_id}","starred_url":"https://api.github.com/users/nhumrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhumrich/subscriptions","organizations_url":"https://api.github.com/users/nhumrich/orgs","repos_url":"https://api.github.com/users/nhumrich/repos","events_url":"https://api.github.com/users/nhumrich/events{/privacy}","received_events_url":"https://api.github.com/users/nhumrich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-09T17:52:25Z","updated_at":"2015-10-22T14:41:42Z","closed_at":null,"body":"internal/docker-push used to respect environment-variables for the tag, but now it doesn’t.\r\n\r\n     - internal/docker-push:\r\n            repository: $REPO\r\n            tag: $TAG\r\n            username: $DOCKER_USERNAME\r\n            password: $DOCKER_PASSWORD\r\n            ports: \"80\"\r\n            entrypoint: \"java -jar /app/service.jar\"\r\n\r\nThis has worked in the past, as all my tags are in dockerhub. But recently this isn’t working, now it just pushes as \"latest\" probably because the $TAG is empty. I havent made any changes to my wercker.yml. I just went to docker pull my tag and noticed it wasnt there, and started to investigate."},"comment":{"url":"https://api.github.com/repos/wercker/support/issues/comments/150245599","html_url":"https://github.com/wercker/support/issues/141#issuecomment-150245599","issue_url":"https://api.github.com/repos/wercker/support/issues/141","id":150245599,"user":{"login":"hatchan","id":202981,"avatar_url":"https://avatars.githubusercontent.com/u/202981?v=3","gravatar_id":"","url":"https://api.github.com/users/hatchan","html_url":"https://github.com/hatchan","followers_url":"https://api.github.com/users/hatchan/followers","following_url":"https://api.github.com/users/hatchan/following{/other_user}","gists_url":"https://api.github.com/users/hatchan/gists{/gist_id}","starred_url":"https://api.github.com/users/hatchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hatchan/subscriptions","organizations_url":"https://api.github.com/users/hatchan/orgs","repos_url":"https://api.github.com/users/hatchan/repos","events_url":"https://api.github.com/users/hatchan/events{/privacy}","received_events_url":"https://api.github.com/users/hatchan/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T14:41:42Z","updated_at":"2015-10-22T14:41:42Z","body":"After some discussion on slack it turns out that something in the base image might be causing this problem.\r\n\r\nNormally exporting a value in a script step, or any other step, will be available when using as a property, even for `internal/` steps. Only exception is minimal distro's which do not have a compatible `env` command. See our devcenter for more information: http://devcenter.wercker.com/docs/faq/alpine-faq.html#i-receive-the-unable-to-sync-environment-when-using-docker-push-on-alpine"}}