-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'final' into InteractionNodes
- Loading branch information
Showing
4 changed files
with
181 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Build Latest Docker Image | ||
|
||
on: | ||
push: | ||
branches: [ final ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-push: | ||
name: Build image and push to Docker Hub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout source code | ||
- name: Build the Docker image | ||
run: | | ||
docker build . --tag synbiohub/sbolcanvas:latest | ||
- uses: azure/docker-login@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Push the image to Docker Hub | ||
run: | | ||
docker push synbiohub/sbolcanvas:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build Newest Release Docker Image | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build-and-push: | ||
name: Build image and push to Docker Hub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout source code | ||
- name: Build the Docker image | ||
run: | | ||
RELEASE=$(echo $GITHUB_REF | cut -d'/' -f 3) | ||
docker build . --tag synbiohub/sbolcanvas:$RELEASE | ||
- uses: azure/docker-login@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Push the image to Docker Hub | ||
run: | | ||
RELEASE=$(echo $GITHUB_REF | cut -d'/' -f 3) | ||
docker push synbiohub/sbolcanvas:$RELEASE |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters