Merge pull request #3 from SpeciesFileGroup/dependabot/bundler/app/ya… #3
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: build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: docker build . -t sfgrp/taxonworks_rdoc_docker:latest --build-arg BUNDLER_WORKERS=3 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Push image to DockerHub | |
run: | | |
docker push sfgrp/taxonworks_rdoc_docker:latest |