2019-10-04 19:49:31 +02:00
|
|
|
|
|
|
|
language: bash
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
script:
|
|
|
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin docker.pkg.github.com
|
2019-10-08 18:16:16 +02:00
|
|
|
- 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
|
|
|
|
- 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
|
|
|
|
- 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
|
|
|
|
- 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
|