home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 974541971

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/1522#issuecomment-974541971 https://api.github.com/repos/simonw/datasette/issues/1522 974541971 IC_kwDOBm6k_c46FlST 9599 2021-11-19T23:40:32Z 2021-11-19T23:40:32Z OWNER

I want to be able to use build arguments to specify which commit version or branch of Datasette to deploy.

This is proving hard to work out. I have this in my Dockerfile now:

``` ARG DATASETTE_REF

RUN pip install https://github.com/simonw/datasette/archive/${DATASETTE_REF}.zip ``` Which works locally:

docker build -t datasette-apache-proxy-demo . \
  --build-arg DATASETTE_REF=c617e1769ea27e045b0f2907ef49a9a1244e577d

But I can't figure out the right incantation to pass to gcloud build submit.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1058896236  
Powered by Datasette · Queries took 0.991ms · About: github-to-sqlite