Skip to content

Commit

Permalink
Build master image nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jan 26, 2023
1 parent af6bd4a commit 0e19f99
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/publish-solr-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and publish the master ckan-solr image
on:
schedule:
- cron: '15 5 * * *'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build ckan-solr master
uses: docker/build-push-action@v3
with:
context: solr-8
file: solr-8/Dockerfile
build-args: |
CKAN_BRANCH=master
push: true
tags: |
ckan/ckan-solr:master
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The following versions are available as different image tags:
| 2.9 | Solr 8 | `ckan/ckan-solr:2.9-solr8-spatial` | Contains fields needed for the [ckanext-spatial](https://docs.ckan.org/projects/ckanext-spatial/en/latest/spatial-search.html) geo search |
| 2.10 | Solr 8 | `ckan/ckan-solr:2.10` | |
| 2.10 | Solr 8 | `ckan/ckan-solr:2.10-spatial` | Contains fields needed for the [ckanext-spatial](https://docs.ckan.org/projects/ckanext-spatial/en/latest/spatial-search.html) geo search |
| master | Solr 8 | `ckan/ckan-solr:master` | The `master` image is not automatically updated and might be out of date |
| master | Solr 8 | `ckan/ckan-solr:master` | The `master` image is built nightly |

The following tags are no longer supported:

Expand Down

0 comments on commit 0e19f99

Please sign in to comment.