huanghs 1f238754ac
Some checks failed
Gitea Actions Demo / setup (push) Waiting to run
Gitea Actions Demo / test (push) Blocked by required conditions
Gitea Actions Demo / build (push) Blocked by required conditions
Gitea Actions Demo / build-docker (push) Successful in 28s
Gitea Actions Demo / Gitea-Actions (push) Has been cancelled
build / build (18.x) (push) Has been cancelled
build / build (16.x) (push) Has been cancelled
build / build (10.x) (push) Has been cancelled
更新 .gitea/actions/action-docker-build-push/action.yml
2024-06-24 09:36:18 +08:00

21 lines
454 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
- run: "echo b: Login to DockerHub"
if: ${{ inputs.password != '' }}
- run: |
sleep 10
echo 'c: Set up Docker BuildX'