init
This commit is contained in:
parent
215f94fd73
commit
e956a58c8c
@ -40,8 +40,8 @@ spec:
|
|||||||
results:
|
results:
|
||||||
- name: imageUrl
|
- name: imageUrl
|
||||||
description: Final pushed image URL with tag (e.g. registry/app:v0.2.0)
|
description: Final pushed image URL with tag (e.g. registry/app:v0.2.0)
|
||||||
- name: _PYPI_USERNAME
|
- name: PYPI_USERNAME
|
||||||
- name: _PYPI_PASSWORD
|
- name: PYPI_PASSWORD
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: write-docker-config
|
- name: write-docker-config
|
||||||
@ -87,8 +87,8 @@ spec:
|
|||||||
cd "$(params.subdirectory)"
|
cd "$(params.subdirectory)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat $(workspaces.pypi-auth.path)/username > $(results._PYPI_USERNAME.path)
|
cat $(workspaces.pypi-auth.path)/username > $(results.PYPI_USERNAME.path)
|
||||||
cat $(workspaces.pypi-auth.path)/password > $(results._PYPI_PASSWORD.path)
|
cat $(workspaces.pypi-auth.path)/password > $(results.PYPI_PASSWORD.path)
|
||||||
|
|
||||||
- name: kaniko-build
|
- name: kaniko-build
|
||||||
image: bitnami/kaniko:1.23.2
|
image: bitnami/kaniko:1.23.2
|
||||||
@ -106,6 +106,6 @@ spec:
|
|||||||
- --reproducible
|
- --reproducible
|
||||||
- --verbosity=info
|
- --verbosity=info
|
||||||
- --build-arg
|
- --build-arg
|
||||||
- PYPI_USERNAME=$(results._PYPI_USERNAME)
|
- PYPI_USERNAME=$(results.PYPI_USERNAME)
|
||||||
- --build-arg
|
- --build-arg
|
||||||
- PYPI_PASSWORD=$(results._PYPI_PASSWORD)
|
- PYPI_PASSWORD=$(results.PYPI_PASSWORD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user