From c866675ed5754dd9218e562b1c117e6810e2352e Mon Sep 17 00:00:00 2001 From: sei-dupdyke Date: Wed, 17 Jun 2020 12:24:28 -0400 Subject: [PATCH] adds new docker repository job --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8f1961a..dc563bc5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,3 +25,19 @@ jobs: tag_with_ref: true push: ${{ startsWith(github.ref, 'refs/tags/') }} dockerfile: src/Dockerfile-api + buildcmusei: + # The type of runner that the job will run on + runs-on: ubuntu-latest + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + - name: Build and push Docker images + uses: docker/build-push-action@v1.1.0 + with: + username: ${{ secrets.BOT_USERNAME }} + password: ${{ secrets.BOT_PASSWORD }} + repository: cmusei/ghosts + tag_with_ref: true + push: ${{ startsWith(github.ref, 'refs/tags/') }} + dockerfile: src/Dockerfile-api