Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 05 15:45
    schowdiah commented #65
  • Sep 16 09:57
    kxalex commented #160
  • Sep 16 09:56
    kxalex commented #160
  • Sep 10 12:07
    robyp1 commented #65
  • Sep 10 12:06
    robyp1 commented #65
  • Jul 14 09:17
    jcfandino closed #116
  • Jul 07 12:48
    rud closed #157
  • Jul 06 12:47
    rud commented #157
  • Jun 11 10:50
    mpetuska commented #159
  • May 31 17:44
    asasisekar edited #160
  • May 31 17:43
    asasisekar opened #160
  • May 29 07:38
    Abhi1401 commented #90
  • May 29 07:37
    Abhi1401 commented #29
  • May 29 07:35
    Abhi1401 commented #90
  • Jan 19 14:38
    jc9464 opened #159
  • Aug 20 2020 11:48
    mgerhardy opened #158
  • Feb 21 2020 15:42
    philbrock commented #135
  • Jan 20 2020 12:39
    rud review_requested #157
  • Jan 07 2020 15:20
    rud commented #157
  • Nov 20 2019 09:24
    rud commented #157
bisbos
@bisbos
Hi..How to push image to a private repository. The Repository needs to be specified as registry="example.com". How to mention the username and password ?
bisbos
@bisbos
@mattgruter
gogulakavya
@gogulakavya
Hi all. Is gradle-docker plugin will be able to work with Docker Remote API when the version of the docker is 1.12+ ?
Jakub Jabłoński
@Krotki
Is there any chance that this plugin will be published in gradle plugins repo ?
kant
@kant111
Hi All
Is there a channel to ask Gradle questions?
Quanalogy
@Quanalogy
Hi, when I've got my dockerfile build and want to publish, how is this done? I can't seem to figure out how the "docker tag image username/repository:tag" and "docker push username/repository:tag" is done in this plugin
Dave Syer
@dsyer
I think you get a tag by default (based on the groupId and jar name). It's easy to check.
Then you can just docker push (you don't need gradle for that)
Quanalogy
@Quanalogy
yes I've applied the group, applicationName and tagVersion. But how do i access my tag variable, $tag ?
(and yes i want to keep using gradle for pushing)
Dave Syer
@dsyer
I don't think you can (use gradle with this plugin to push)
I never did anyway. If they added that feature I missed it.
I don't understand the question about $tag.
Quanalogy
@Quanalogy
Ok, well I'll find another way then, thank you :)
Quanalogy
@Quanalogy

@dsyer looking at the source tells me otherwise tho: https://github.com/Transmode/gradle-docker/blob/master/src/main/groovy/se/transmode/gradle/plugins/docker/DockerTask.groovy

on the very last lines you have a check for if push == True, which will involke the push. I will just try that and return if it works

Dave Syer
@dsyer
Sounds good. Maybe you could fix the README if you find that it works.
Quanalogy
@Quanalogy
@dsyer It works: make a task with type: Docker, set applicationName and tag, set push=true <-- job done.. This really needs to be documented better :)! I'm no developer, is it open for anyone to fix this ?
oh i can just make a pullrequest for better documenting
Dave Syer
@dsyer
You can.
Justin Fleck
@jfleck1
greetings! I commented on Transmode/gradle-docker#122 but will try to tackle to problem
bufistov
@bufistov
Hi there! Is there a way to set environment variable for the docker image produces by distDocker task?
vincent-liu-zhi
@vincent-liu-zhi

A problem occurred evaluating root project 'history'.

Plugin with id 'docker' not found.

why i got this problem ?
Alican BALIK
@AlicanBalik

Hi, I have just started using se.transmode.gradle for docker, and I get the following error: Type 'se.transmode.gradle.plugins.docker.DockerTask' property 'apiPassword' is missing an input or output annotation.

I created a plugin as following and applied it as apply plugin: 'docker'

docker {
    apiEmail 'e@e.com'
    apiPassword 'p'
    apiUsername 'us'
    baseImage 'im'
}

and the same error keeps occurring for each property. What am l missing?

Parvathy j a
@parvathyja85_gitlab
@AlicanBalik ..did the above error got resolved?