Files
runner/.github/workflows/docker-image.yml
TingluoHuang 4fa691f73e .
2021-10-28 18:40:09 -04:00

20 lines
429 B
YAML

name: Docker Image CI
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: |
cd src
echo "${{secrets.docker_hub_token}}" | docker login --username huangtingluo --password-stdin
docker build . --file Dockerfile --tag huangtingluo/kube-runner:v0
docker push huangtingluo/kube-runner:v0