huanghs b2efccff05
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) Failing after 7s
build / build (16.x) (push) Has been cancelled
build / build (18.x) (push) Has been cancelled
Gitea Actions Demo / Gitea-Actions (push) Has been cancelled
build / build (10.x) (push) Has been cancelled
更新 .gitea/actions/action-docker-build-push/action.yml
2024-06-24 09:34:35 +08:00

19 lines
427 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: |
sleep 10
echo c: Set up Docker BuildX