Docker Hub

This commit is contained in:
Torma Kristóf 2019-10-09 15:26:18 +02:00
parent 158001c04e
commit 2d406ad821
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 9 additions and 10 deletions

View File

@ -1,20 +1,19 @@
language: bash
services:
- docker
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin docker.pkg.github.com
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- cd hello-world-go
- docker build -t=docker.pkg.github.com/tormachris/knative-report-functions/hello-world-go .
- docker push docker.pkg.github.com/tormachris/knative-report-functions/hello-world-go
- docker build -t=tormachris/hello-world-go .
- docker push tormachris/hello-world-go
- cd ../isprime-go
- docker build -t=docker.pkg.github.com/tormachris/knative-report-functions/isprime-go .
- docker push docker.pkg.github.com/tormachris/knative-report-functions/isprime-go
- docker build -t=tormachris/isprime-go .
- docker push tormachris/isprime-go
- cd ../hello-world-python
- docker build -t=docker.pkg.github.com/tormachris/knative-report-functions/hello-world-py .
- docker push docker.pkg.github.com/tormachris/knative-report-functions/hello-world-py
- docker build -t=tormachris/hello-world-py .
- docker push tormachris/hello-world-py
- cd ../isprime-python
- docker build -t=docker.pkg.github.com/tormachris/knative-report-functions/isprime-py .
- docker push docker.pkg.github.com/tormachris/knative-report-functions/isprime-py
- docker build -t=tormachris/isprime-py .
- docker push tormachris/isprime-py