huanghs a0ffafb622
Some checks failed
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 6s
build / build (16.x) (push) Successful in 1m25s
build / build (10.x) (push) Has been cancelled
build / build (18.x) (push) Has been cancelled
Gitea Actions Demo / Gitea-Actions (push) Has been cancelled
Gitea Actions Demo / setup (push) Has been cancelled
更新 .gitea/actions/action-docker-build-push/action.yml
2024-06-24 09:30:18 +08:00

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"