Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gobikrishnan-s3141 authored Dec 19, 2024
1 parent 5916940 commit 5ea8db1
Showing 1 changed file with 33 additions and 9 deletions.
42 changes: 33 additions & 9 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,47 @@ name: BioDock

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Python Docker image
run: docker build -f Py.dockerfile -t py:${{ github.sha }}
uses: docker/build-push-action@v5
with:
context: .
file: Py.dockerfile
tags: py:${{ github.sha }}
push: false

- name: Build R Docker image
run: docker build -f R.dockerfile -t r:${{ github.sha }}
uses: docker/build-push-action@v5
with:
context: .
file: R.dockerfile
tags: r:${{ github.sha }}
push: false

- name: Build minimal GNU/Linux Docker image
run: docker build -f sh.dockerfile -t sh:${{ github.sha }}
uses: docker/build-push-action@v5
with:
context: .
file: sh.dockerfile
tags: sh:${{ github.sha }}
push: false

- name: Build bioinformatics dev Docker image
run: docker build -f bsh.dockerfile -t py:${{ github.sha }}
uses: docker/build-push-action@v5
with:
context: .
file: bsh.dockerfile
tags: bsh:${{ github.sha }}
push: false

0 comments on commit 5ea8db1

Please sign in to comment.