Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Commit

Permalink
Do docker push from wercker build (#6)
Browse files Browse the repository at this point in the history
* Add wercker.yml build file

* Updated wercker.yml to try docker-push to wcr.io

* Remove push for now.

* Cleanup wercker.yml

* Try push without username/password

* Commented out repository to see if push works

* Change repository to use jgish org

* Use default repo for project

* Revert change to README.md
  • Loading branch information
jwgish authored and honghzzhang committed Dec 13, 2017
1 parent 4d584cd commit a24af07
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,19 @@ build:
name: go test
code: |
go test ./...
- script:
name: coverage
code: |
make coverage
- script:
name: coverage html
code: |
make coverhtml
# after-steps:
# - internal/docker-push:
# username: $WCR_USERNAME
# password: $WCR_PASSWORD
# repository: wcr.io/gam/federation
# tag: $WERCKER_GIT_BRANCH-$WERCKER_GIT_COMMIT
# working-dir: /pipeline/source
# entrypoint: /federatedingress-controller
after-steps:
- internal/docker-push:
tag: $WERCKER_GIT_BRANCH-$WERCKER_GIT_COMMIT
working-dir: /pipeline/source
entrypoint: /federatedingress-controller

0 comments on commit a24af07

Please sign in to comment.