Skip to content

Commit

Permalink
Added github action to deploy dev image
Browse files Browse the repository at this point in the history
  • Loading branch information
zachsents committed Dec 13, 2023
1 parent 698c7e3 commit 9c71dda
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build Dev Docker Image

on:
push:
branches: [ synbio-suite ]
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
with:
ref: synbio-suite
- name: Build the Docker image
run: |
docker build . --tag synbiohub/sbolcanvas:dev
- 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:dev

0 comments on commit 9c71dda

Please sign in to comment.