Skip to content

Commit

Permalink
Added 'make release-docker' (scaleway#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Aug 4, 2015
1 parent 4af4e28 commit 89083ad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ cross: scwversion/version.go
rm -rf tmp


release-docker:
docker build -t scaleway/cli dist
docker run scaleway/cli version
docker tag -f scaleway/cli:latest scaleway/cli:$(TAG)
@echo " Now you can run 'docker push scaleway/cli'"


packages:
rm -f dist/*.deb
docker run -v $(PWD)/dist/scw-Linux-x86_64:/input/scw $(FPM_DOCKER) $(FPM_ARGS) -t deb -a x86_64 ./
Expand Down

0 comments on commit 89083ad

Please sign in to comment.