cluster gene sets in ORA #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: get package version | |
run: | | |
version=$(grep Version DESCRIPTION | grep -o "[0-9.]\+") | |
echo "packageVersion=${version}" >> $GITHUB_ENV | |
shell: | |
bash {0} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./inst/extdata | |
# file: ./inst/extdata/Dockerfile | |
push: true | |
tags: mengchen18/omicsviewer:${{ env.packageVersion }} | |
- name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} |