Thanks, from that spot I figured out I needed to change from:

      {
        "type": "docker-tag",
        "repository": "{{user `dock_username`}}/{{user `dock_dest`}}",
        "tag": "{{user `cgpbox_version`}}"
      },

to

      {
        "type": "docker-tag",
        "repository": "{{user `dock_server`}}/{{user 
`dock_username`}}/{{user `dock_dest`}}",
        "tag": "{{user `cgpbox_version`}}"
      },



On Wednesday, 23 November 2016 21:17:45 UTC, Rickard von Essen wrote:
>
> This looks wrong:
> docker (docker-push): The push refers to a repository [
> docker.io/keiranmraine/testspace]
> ... 
> docker (docker-push): Logging out...
> docker (docker-push): Remove login credentials for quay.io
>
> Which registry do you use?
>
> On Nov 23, 2016 10:11 PM, "Alvaro Miranda Aguilera" <[email protected] 
> <javascript:>> wrote:
>
>>
>> On Wed, Nov 23, 2016 at 9:42 PM, Keiran Raine <[email protected] 
>> <javascript:>> wrote:
>>
>>> docker (docker-push): unauthorized: authentication required
>>
>>
>> try doing a docker login  before the packer build
>>
>>
>>
>>
>>
>> -- 
>> Alvaro
>>
>> -- 
>> This mailing list is governed under the HashiCorp Community Guidelines - 
>> https://www.hashicorp.com/community-guidelines.html. Behavior in 
>> violation of those guidelines may result in your removal from this mailing 
>> list.
>>  
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/CAHqq0exWirA76KVhZreqkv1aSpwdAKyMD-W227-Foz%2BXCuJdBw%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/CAHqq0exWirA76KVhZreqkv1aSpwdAKyMD-W227-Foz%2BXCuJdBw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/60f17aa8-8ec5-4aa1-b587-15300f2ccdf2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to