Docker Hub
This commit is contained in:
parent
158001c04e
commit
2d406ad821
19
.travis.yml
19
.travis.yml
@ -1,20 +1,19 @@
|
|||||||
|
|
||||||
language: bash
|
language: bash
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
script:
|
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
|
- cd hello-world-go
|
||||||
- docker build -t=docker.pkg.github.com/tormachris/knative-report-functions/hello-world-go .
|
- docker build -t=tormachris/hello-world-go .
|
||||||
- docker push docker.pkg.github.com/tormachris/knative-report-functions/hello-world-go
|
- docker push tormachris/hello-world-go
|
||||||
- cd ../isprime-go
|
- cd ../isprime-go
|
||||||
- docker build -t=docker.pkg.github.com/tormachris/knative-report-functions/isprime-go .
|
- docker build -t=tormachris/isprime-go .
|
||||||
- docker push docker.pkg.github.com/tormachris/knative-report-functions/isprime-go
|
- docker push tormachris/isprime-go
|
||||||
- cd ../hello-world-python
|
- cd ../hello-world-python
|
||||||
- docker build -t=docker.pkg.github.com/tormachris/knative-report-functions/hello-world-py .
|
- docker build -t=tormachris/hello-world-py .
|
||||||
- docker push docker.pkg.github.com/tormachris/knative-report-functions/hello-world-py
|
- docker push tormachris/hello-world-py
|
||||||
- cd ../isprime-python
|
- cd ../isprime-python
|
||||||
- docker build -t=docker.pkg.github.com/tormachris/knative-report-functions/isprime-py .
|
- docker build -t=tormachris/isprime-py .
|
||||||
- docker push docker.pkg.github.com/tormachris/knative-report-functions/isprime-py
|
- docker push tormachris/isprime-py
|
||||||
|
Loading…
Reference in New Issue
Block a user