Skip to content

Commit

Permalink
added build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
msauria committed Sep 20, 2024
1 parent 85f7af0 commit bf7b084
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Build dockerfile on change
name: Build Docker (env/Dockerfile)

on:
push:
paths:
- 'env/Dockerfile'
- '.github/workflows/build_docker.yml'
pull_request:
paths:
- 'env/Dockerfile'
- '.github/workflows/build_docker.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Build Tools
- name: Build and Publish
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: andersenlab/delly
tag: "${{ steps.current-time.formattedTime }}"
username: ${{ secrets.KSE_DOCKER_USER }}
password: ${{ secrets.KSE_DOCKER_PASS }}
snapshot: true
dockerfile: Dockerfile
workdir: "env"
tags: "latest"
cache: true

0 comments on commit bf7b084

Please sign in to comment.