Skip to content

Commit

Permalink
Added workflow rule to push image only on merging to master branch
Browse files Browse the repository at this point in the history
Signed-off-by: Mahesh <[email protected]>
  • Loading branch information
maheshkasabe committed Jul 24, 2023
1 parent c815599 commit 9b3a698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-graphspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: docker build -t graphspace .

- name: push image
if: ${{ github.ref == 'refs/heads/master' }}
run: |
docker tag graphspace maheshkasbe/graphspace:${{ steps.vars.outputs.sha_short }}
docker tag graphspace maheshkasbe/graphspace:latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Requirements
Installation Instructions
===================================
* [Running GraphSpace Locally](https://github.com/Murali-group/GraphSpace/wiki/Running-GraphSpace-locally)
* [Running Graphspace Locally using Docker & Docker‐Compose](Running-Graphspace-using-Docker-&-Docker‐Compose)
* [Running Graphspace Locally using Docker & Docker‐Compose](https://github.com/Murali-group/GraphSpace/wiki/Running-Graphspace-using-Docker-&-Docker‐Compose)
* [Running GraphSpace on Apache](https://github.com/Murali-group/GraphSpace/wiki/Running-GraphSpace-on-Apache)

Documentation
Expand Down

0 comments on commit 9b3a698

Please sign in to comment.