From 9fddccf559f95ff5afb8e5680df979482d0ff963 Mon Sep 17 00:00:00 2001 From: Andrews Cordolino Sobral Date: Sun, 5 Mar 2023 19:24:38 +0100 Subject: [PATCH] Create docker-image_manualbuild_ocv347.yml --- .../docker-image_manualbuild_ocv347.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/docker-image_manualbuild_ocv347.yml diff --git a/.github/workflows/docker-image_manualbuild_ocv347.yml b/.github/workflows/docker-image_manualbuild_ocv347.yml new file mode 100644 index 0000000000..f829f60856 --- /dev/null +++ b/.github/workflows/docker-image_manualbuild_ocv347.yml @@ -0,0 +1,24 @@ +name: Docker image manual build for OpenCV 3.4.7 + +on: + workflow_dispatch: {} + # push: + # branches: [ "master" ] + # pull_request: + # branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: docker login + env: + DOCKER_USER: ${{secrets.DOCKER_USER}} + DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} + run: | + docker login -u $DOCKER_USER -p $DOCKER_PASSWORD + - name: Build the Docker image + run: docker build --build-arg INCUBATOR_VER=$(date +%Y%m%d-%H%M%S) --file dockerfiles/opencv_3.4.7py38/Dockerfile -t andrewssobral/bgslibrary:opencv_3.4.7py38 . + - name: Docker Push + run: docker push andrewssobral/bgslibrary:opencv_3.4.7py38