Skip to content

Commit

Permalink
Create docker-image_manualbuild_ocv347.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewssobral authored Mar 5, 2023
1 parent 915dc8d commit 9fddccf
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker-image_manualbuild_ocv347.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9fddccf

Please sign in to comment.