Skip to content

Commit

Permalink
push docker release image (#22)
Browse files Browse the repository at this point in the history
* enabled pushing docker release image

* updated readme
  • Loading branch information
de-code authored Aug 19, 2020
1 parent 07ac43f commit 8787b19
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ elifePipeline {
}
}
}

stage 'Push release bigquery-views-manager image', {
def image = DockerImage.elifesciences(this, 'bigquery-views-manager', commit)
image.tag('latest').push()
image.tag(version).push()
}
}
}
}
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,21 @@ The following commands are supported:
* `delete-views`
* `delete-materialized-tables`

## Docker Image

There is also a Docker Image that can be used directly:

```bash
docker pull elifesciences/bigquery-views-manager:latest
docker run --rm \
--volume ~/.config/gcloud:/root/.config/gcloud \
--volume $$PWD/views:/data/views \
--env GOOGLE_CLOUD_PROJECT=my-gcp-project \
elifesciences/bigquery-views-manager:latest \
diff-views \
--dataset my_dataset
```

## Similar Projects

* [BigQuery-DatasetManager](https://github.com/laughingman7743/BigQuery-DatasetManager)

0 comments on commit 8787b19

Please sign in to comment.