aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <max@magorsch.de>2020-01-01 05:31:25 +0100
committerMax Magorsch <max@magorsch.de>2020-01-01 05:38:12 +0100
commit7a91e756ab09d6625356e889851b5a9187541d99 (patch)
tree10f91ba4534dc0df7300d34aba5948909395f7ca
parentAdd installation instructions (diff)
downloadpackages-5-7a91e756ab09d6625356e889851b5a9187541d99.tar.gz
packages-5-7a91e756ab09d6625356e889851b5a9187541d99.tar.bz2
packages-5-7a91e756ab09d6625356e889851b5a9187541d99.zip
Fix the templates for Dockerhub and Github Packages
Signed-off-by: Max Magorsch <max@magorsch.de>
-rw-r--r--.travis/travis.docker.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.travis/travis.docker.yml b/.travis/travis.docker.yml
index 18e93ec..fbe8f74 100644
--- a/.travis/travis.docker.yml
+++ b/.travis/travis.docker.yml
@@ -4,6 +4,7 @@ services:
- docker
before_install:
+ # TODO Upload the image to the official gentoo account and get rid of the mmagorsc account
- docker pull mmagorsc/gentoo-rails:latest && docker tag mmagorsc/gentoo-rails:latest gentoo/rails:latest
- docker build -t gentoo/gpackages:latest .
@@ -11,11 +12,9 @@ script:
# Run tests using the prebuild image
- docker-compose -f docker-compose.test.yml up --exit-code-from http-serving
## TODO Use either DockerHub or Github Packages and uncomment this block afterwards
- ## Publish the docker image and run the tests
- ## publish on dockerhub
+ ## Publish on DockerHub
#- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- ## publish on github packages
- #- docker login -u USERNAME -p TOKEN docker.pkg.github.com
- #- docker tag pgo gentoo/gpackages:latest
+ ## Publish on Github Packages
+ #- docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN docker.pkg.github.com
#- docker push gentoo/gpackages:latest
#- echo "Published docker image"