添加 .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
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:
parent
aeb9b13404
commit
b09805f2e1
17
.gitea/actions/action-docker-build-push/action.yml
Normal file
17
.gitea/actions/action-docker-build-push/action.yml
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user