Skip to content

Commit

Permalink
add test build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiPetukhov committed Aug 7, 2024
1 parent 90533f2 commit 4ba618a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test_build_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Docker Image Build

on:
workflow_dispatch:
inputs:
tag_version:
description: 'Docker Image Tag (without "v")'
required: true
type: string
default: ''
dockerfile_path:
description: 'Path to Dockerfile (optional)'
required: true
type: string
default: 'docker/Dockerfile'
image_name:
description: 'Docker Image Name (optional)'
required: false
type: string
default: ''
sdk_version:
description: 'Supervisely SDK version (optional) - only needed if SDK is installed from branch'
required: false
type: string
default: ''

jobs:
build-and-push:
uses: supervisely-ecosystem/workflows/.github/workflows/build_image.yml@test
secrets:
DOCKERHUB_USERNAME: "${{ secrets.DOCKERHUB_USERNAME }}"
DOCKERHUB_TOKEN: "${{ secrets.DOCKERHUB_TOKEN }}"
with:
tag_version: ${{ github.event.inputs.tag_version }}
dockerfile_path: ${{ github.event.inputs.dockerfile_path }}
image_name: ${{ github.event.inputs.image_name }}
sdk_version: ${{ github.event.inputs.sdk_version }}

0 comments on commit 4ba618a

Please sign in to comment.