Skip to content

Commit

Permalink
.github: add building of murdock-worker
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Oct 19, 2021
1 parent 5978de2 commit 1595352
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ jobs:
-e CI_BASE_BRANCH=${{ env.RIOT_BRANCH }} ${{ env.DOCKER_REGISTRY }}/riotbuild:latest \
./dist/tools/ci/static_tests.sh
- name: Build murdock worker
uses: docker/build-push-action@v2
with:
context: ./murdock-worker
tags: |
${{ env.DOCKER_REGISTRY }}/murdock-worker:latest
${{ env.DOCKER_REGISTRY }}/murdock-worker:${{ env.VERSION_TAG }}
build-args: |
DOCKER_REGISTRY=${{ env.DOCKER_REGISTRY }}
- name: Login to DockerHub
if: "${{ github.ref == 'refs/heads/master' }}"
uses: docker/login-action@v1
Expand All @@ -131,3 +141,5 @@ jobs:
docker image push ${{ env.DOCKER_REGISTRY }}/static-test-tools:${{ env.VERSION_TAG }}
docker image push ${{ env.DOCKER_REGISTRY }}/riotbuild:latest
docker image push ${{ env.DOCKER_REGISTRY }}/riotbuild:${{ env.VERSION_TAG }}
docker image push ${{ env.DOCKER_REGISTRY }}/murdock-worker:latest
docker image push ${{ env.DOCKER_REGISTRY }}/murdock-worker:${{ env.VERSION_TAG }}

0 comments on commit 1595352

Please sign in to comment.