build and push in one job
This commit is contained in:
22
.github/workflows/docker-image.yml
vendored
22
.github/workflows/docker-image.yml
vendored
@@ -7,18 +7,16 @@ on:
|
|||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
# build:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
# - name: Build the Docker image with golang:buster
|
# - name: Build the Docker image with golang:buster
|
||||||
# run: docker build . --file Dockerfile.buster --tag opencv-docker-golang:buster
|
# run: docker build . --file Dockerfile.buster --tag opencv-docker-golang:buster
|
||||||
|
# - name: Build the Docker image with ubuntu:20.04
|
||||||
- name: Build the Docker image with ubuntu:20.04
|
# run: docker build . --file Dockerfile.ubuntu --tag opencv-docker-golang:ubuntu
|
||||||
run: docker build . --file Dockerfile.ubuntu --tag opencv-docker-golang:ubuntu
|
# - name: Build the Docker image with dlib
|
||||||
|
# run: docker build . --file Dockerfile.dlib --tag opencv-docker-golang:dlib
|
||||||
# - name: Build the Docker image with dlib
|
|
||||||
# run: docker build . --file Dockerfile.dlib --tag opencv-docker-golang:dlib
|
|
||||||
push_to_registries:
|
push_to_registries:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
Reference in New Issue
Block a user