huanghs
b374e2fc6d
Some checks failed
Gitea Actions Demo / build-docker (push) Successful in 28s
build / build (18.x) (push) Successful in 46s
Gitea Actions Demo / test (push) Has been skipped
Gitea Actions Demo / build (push) Has been skipped
Gitea Actions Demo / setup (push) Failing after 13s
Gitea Actions Demo / Gitea-Actions (push) Failing after 7m21s
build / build (16.x) (push) Failing after 7m13s
build / build (10.x) (push) Failing after 1h27m47s
23 lines
492 B
YAML
23 lines
492 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: |
|
|
sleep 10
|
|
echo 'sleep 10 end'
|
|
|
|
- run: "echo b: Login to DockerHub"
|
|
if: ${{ inputs.password != '' }}
|
|
|
|
- run: |
|
|
sleep 10
|
|
echo 'c: Set up Docker BuildX' |