diff --git a/.gitignore b/.gitignore index 5137440..8086253 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vscode bin -obj \ No newline at end of file +obj +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index c813eae..5ab210a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ # strazh Your code - is your Knowledge Graph +__WIP__ + +Release: + +1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0 + ### docker **Dockerfile** diff --git a/docker-compose.yml b/docker-compose.yml index 898ae07..b47e065 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,11 +2,8 @@ version: '3' services: strazh: - build: - context: . - dockerfile: ./Dockerfile - image: strazh:dev - container_name: strazh_dev + image: vladbatushkov/strazh:1.0.0-alpha + container_name: strazh network_mode: host volumes: - ./Strazh:/dest @@ -17,7 +14,7 @@ services: neo4j: image: neo4j:4.2 - container_name: strazh_neo4j_dev + container_name: strazh_neo4j restart: unless-stopped ports: - 7474:7474 diff --git a/workflows/publish.yml b/workflows/publish.yml new file mode 100644 index 0000000..71234c7 --- /dev/null +++ b/workflows/publish.yml @@ -0,0 +1,18 @@ +name: Publish Strazh Docker image +on: + release: + types: [published] +jobs: + push_to_registry: + name: Push Strazh Docker image to Docker Hub + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v2 + - name: Push to Docker Hub + uses: docker/build-push-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USER }} + password: ${{ secrets.DOCKERHUB_PWD }} + repository: vladbatushkov/strazh + tag_with_ref: true \ No newline at end of file