GithubHelp home page GithubHelp logo

Comments (6)

MaikuMori avatar MaikuMori commented on June 9, 2024 13

It already works if you follow the tutorial which you linked:

 - name: build-image
   type: docker-image
   source:
     repository: gcr.io/project/repo
     username: _json_key
     password: {{gcr-key}}

You need to use username set to _json_key. And password is the json key file for your service account.

from docker-image-resource.

concourse-bot avatar concourse-bot commented on June 9, 2024

Hi there!

We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

The current status is as follows:

  • #131332785 Support for Google Container Registry?

This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

from docker-image-resource.

vito avatar vito commented on June 9, 2024

I suppose this'll need changes similar to supporting Amazon ECR. Don't know enough about Google's registry, myself.

from docker-image-resource.

josdotso avatar josdotso commented on June 9, 2024

@MaikuMori, I tried this previously and got a JSON not string type error. I'll try to reproduce and post error. Thanks

from docker-image-resource.

MaikuMori avatar MaikuMori commented on June 9, 2024

The best to also format the JSON as single line. Can be done with something like:

cat ~/key.json | jq -rc '.' | xsel -i

from docker-image-resource.

josdotso avatar josdotso commented on June 9, 2024

Thanks again @MaikuMori .. A peer confirmed it. I must have missed something when I looked at it. Feel free to close.

from docker-image-resource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.