
push
push
yaml
type: "io.kestra.plugin.docker.push"Examples
yaml
id: docker_push
namespace: company.team
tasks:
- id: push
type: io.kestra.plugin.docker.Push
tags:
- image/demo:latest
credentials:
registry: https://index.docker.io/v1/
username: "{{ secret('DOCKERHUB_USERNAME') }}"
password: "{{ secret('DOCKERHUB_PASSWORD') }}"
yaml
id: docker_push_with_tag
namespace: company.team
tasks:
- id: build
type: io.kestra.plugin.docker.Build
dockerfile: |
FROM alpine
RUN echo "hello"
tags:
- my-registry.example.com/my-app:latest
- id: push
type: io.kestra.plugin.docker.Push
tags:
- my-registry.example.com/my-app:latest
credentials:
registry: my-registry.example.com
username: "{{ secret('REGISTRY_USERNAME') }}"
password: "{{ secret('REGISTRY_PASSWORD') }}"
Properties
configstringobject
credentials
Definitions
Credentials for a private container registry.
authstring
identityTokenstring
passwordstring
registrystring
registryTokenstring
usernamestring