mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Update .travis.yml and docker_push.sh
Tag images before pushing
This commit is contained in:
parent
5259e9cc91
commit
f3c626e2e4
2 changed files with 4 additions and 2 deletions
|
|
@ -3,9 +3,9 @@ sudo: required
|
||||||
language: go
|
language: go
|
||||||
go_import_path: github.com/ethereum/go-ethereum
|
go_import_path: github.com/ethereum/go-ethereum
|
||||||
|
|
||||||
services: true
|
services: skip
|
||||||
|
|
||||||
before_install: true
|
before_install: skip
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
|
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
|
||||||
|
docker tag etiennenapoleone/tomochain etiennenapoleone/tomochain:latest
|
||||||
|
docker tag etiennenapoleone/tomochain etiennenapoleone/tomochain:$(git log --pretty=format:'%h' -n 1 | cat)
|
||||||
docker push etiennenapoleone/tomochain:latest
|
docker push etiennenapoleone/tomochain:latest
|
||||||
docker push etiennenapoleone/tomochain:$(git log --pretty=format:'%h' -n 1 | cat)
|
docker push etiennenapoleone/tomochain:$(git log --pretty=format:'%h' -n 1 | cat)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue