Skip to content

Commit 704b55a

Browse files
committed
Add deployment to Dockerhub 'ydbplatform' org
1 parent 181a39d commit 704b55a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/upload-artifacts.yml

+11
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
# Public:
6868
docker build -t cr.yandex/crpl7ipeu79oseqhcgn2/ydb-operator:"$VERSION" .
6969
docker push cr.yandex/crpl7ipeu79oseqhcgn2/ydb-operator:"$VERSION"
70+
7071
# Private:
7172
# no rebuild will happen, docker will fetch from cache and just retag:
7273
docker build -t cr.yandex/crpsjg1coh47p81vh2lc/ydb-kubernetes-operator:"$VERSION" .
@@ -95,6 +96,16 @@ jobs:
9596
aws s3 --endpoint-url=https://storage.yandexcloud.net \
9697
cp ./charts/index.yaml s3://charts.ydb.tech/index.yaml
9798
99+
- name: login-to-dockerhub
100+
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
101+
with:
102+
username: ydbplatform
103+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
104+
- name: retag-and-push-operator-image-to-dockerhub
105+
run: |
106+
docker build -t ydbplatform/ydb-kubernetes-operator:"$VERSION" .
107+
docker push ydbplatform/ydb-kubernetes-operator:"$VERSION"
108+
98109
- name: append-artifacts-info-to-release-notes
99110
run: |
100111
echo "" >> .changes/v$VERSION.md

0 commit comments

Comments
 (0)