Skip to content

Commit

Permalink
Merge pull request #3 from jhuapl-bio/staging
Browse files Browse the repository at this point in the history
Create pre-release yaml file for dockerhub push
  • Loading branch information
Merritt-Brian authored Aug 11, 2021
2 parents 07c3aea + 0b28837 commit 9440416
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and push Docker image for pre-release

on:
push:
branches: prerelease

jobs:
push_to_registry:
name: Build and push Docker image for pre-release
runs-on: ubuntu-latest
steps:

- name: Check out the repo
uses: actions/checkout@v2

- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ secrets.DOCKERHUB_REPOSITORY }}
tag_with_ref: true
tag_with_sha: true
tags: prerelease

0 comments on commit 9440416

Please sign in to comment.