Skip to content

Commit

Permalink
Added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
msauria committed Jul 19, 2024
1 parent 3513894 commit b83f5af
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build_gcta_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Build dockerfile on change
name: Build Docker (env/gcta.Dockerfile)

on:
push:
paths:
- 'env/gcta.Dockerfile'
- 'env/gcta_conda.yml'
- '.github/workflows/build_gcta_docker.yml'
pull_request:
paths:
- 'env/gcta.Dockerfile'
- 'env/gcta_conda.yml'
- '.github/workflows/build_gcta_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/gcta
tag: "${{ steps.current-time.formattedTime }}"
username: ${{ secrets.KSE_DOCKER_USER }}
password: ${{ secrets.KSE_DOCKER_PASS }}
snapshot: true
dockerfile: gcta.Dockerfile
workdir: "env"
tags: "latest"
cache: true

0 comments on commit b83f5af

Please sign in to comment.