deps-update #160
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
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) | |
# | |
# SPDX-License-Identifier: BSD-2-Clause | |
# Build and push docker image on changes to relevant files | |
name: Deploy RumpRun | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'scripts/**' | |
- 'seL4-platforms/**' | |
- 'rump-hello/**' | |
workflow_dispatch: | |
# allow explict trigger from other repos when dependencies have changed | |
repository_dispatch: | |
types: [deps-update] | |
jobs: | |
docker: | |
name: Docker (RumpHello) | |
if: ${{ github.repository_owner == 'seL4' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- uses: docker/build-push-action@v3 | |
with: | |
push: true | |
file: rump-hello/Dockerfile | |
tags: sel4/rump-hello:latest |