diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 6c1e176..2ee0ed6 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -6,24 +6,27 @@ env: on: push: branches: - - master + - main + workflow_dispatch: + jobs: build: runs-on: ubuntu-latest steps: - name: Git clone on our repo + uses: actions/checkout@v2 - - - name: Switch directory - run: cd docker-stack/golem-reputation-backend - name: Login to Dockerhub + working-directory: ${{ github.workspace }}/docker-stack/golem-reputation-backend run: make login - name: Build Containers + working-directory: ${{ github.workspace }}/docker-stack/golem-reputation-backend run: make build-amd64 - name: Push Containers + working-directory: ${{ github.workspace }}/docker-stack/golem-reputation-backend run: make push-amd64 - name: Deploy to europe reputation instance