Skip to content

Webjet/action-build-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Github Docker Build Action

This action can be used to build & push docker image

Example usage (Minimum)

- uses: webjet/action-build-image@v1
  with:
    image-name: 'flight-xxx'

Example usage (Full)

- uses: webjet/action-build-image@v1
  with:
    image-name: 'flight-xxx'
    tag: 'v1'
    build-args: 'region=au,arg2=test'
    dockerfile-path: 'src/dockerfile'
    push: 'true'
    target: 'test'

### build-args (no space)
### dockerfile-path (if your dockerfile not in root path)
### push (push built image directly)