17 lines
406 B
YAML
17 lines
406 B
YAML
|
name: 'Docker build and push'
|
||
|
description: 'Setup docker, build image and push'
|
||
|
|
||
|
inputs:
|
||
|
password:
|
||
|
description: 'Password or personal access token used to log against the Docker registry'
|
||
|
required: false
|
||
|
|
||
|
runs:
|
||
|
using: 'composite'
|
||
|
steps:
|
||
|
- run: echo 'a: Set up QEMU'
|
||
|
|
||
|
- run: echo 'b: Login to DockerHub'
|
||
|
if: ${{ inputs.password != '' }}
|
||
|
|
||
|
- run: echo 'c: Set up Docker BuildX'
|