Skip to content

Commit

Permalink
Merge pull request #1 from bento-platform/ci/add-build-workflow
Browse files Browse the repository at this point in the history
ci: add Docker build workflow
  • Loading branch information
davidlougheed authored Aug 12, 2024
2 parents 3c6a1df + 0914ac0 commit 5936de3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and push TDS image
on:
release:
types: [ published ]
pull_request:
branches:
- main
push:
branches:
- main

jobs:
build-push:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "recursive"

- name: Run Bento build action
uses: bento-platform/[email protected]
with:
registry: ghcr.io
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
image-name: ghcr.io/bento-platform/transcriptomics_data_service
development-dockerfile: dev.Dockerfile
dockerfile: Dockerfile
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.idea/

0 comments on commit 5936de3

Please sign in to comment.