添加 .gitea/actions/action-docker-build-push/action.yml
Some checks failed
build / build (18.x) (push) Waiting to run
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
build / build (16.x) (push) Has been cancelled
Gitea Actions Demo / Gitea-Actions (push) Has been cancelled
build / build (10.x) (push) Has been cancelled

This commit is contained in:
huanghs 2024-06-24 09:25:59 +08:00
parent aeb9b13404
commit b09805f2e1

View File

@ -0,0 +1,17 @@
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'