Files
opencv-golang/.github/workflows/docker-image.yml
2021-12-23 23:34:52 +08:00

19 lines
342 B
YAML

name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag opencv-docker-golang:$(date +%s) --tag opencv-docker-golang:latest