Skip to content

Commit

Permalink
Added missing docker image build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewssobral committed Mar 5, 2023
1 parent 9fddccf commit d58a0b7
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake_autobuild_ubuntu_ocv3416.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake Autobuild on Ubuntu + OpenCV 3.4.16
name: CMake autobuild on Ubuntu + OpenCV 3.4.16

on:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_autobuild_ubuntu_ocv347.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake Autobuild on Ubuntu + OpenCV 3.4.7
name: CMake autobuild on Ubuntu + OpenCV 3.4.7

on:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake_autobuild_ubuntu_ocv460.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake Autobuild on Ubuntu + OpenCV 4.6.0
name: CMake autobuild on Ubuntu + OpenCV 4.6.0

on:
pull_request:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/docker-image_manualbuild_ocv3416.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docker image manual build for OpenCV 3.4.16

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.16py38/Dockerfile -t andrewssobral/bgslibrary:opencv_3.4.16py38 .
- name: Docker Push
run: docker push andrewssobral/bgslibrary:opencv_3.4.16py38
24 changes: 24 additions & 0 deletions .github/workflows/docker-image_manualbuild_ocv460.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docker image manual build for OpenCV 4.6.0

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_4.6.0py38/Dockerfile -t andrewssobral/bgslibrary:opencv_4.6.0py38 .
- name: Docker Push
run: docker push andrewssobral/bgslibrary:opencv_4.6.0py38

0 comments on commit d58a0b7

Please sign in to comment.