Skip to content

Commit

Permalink
Merge pull request #20 from schemahero/char-var
Browse files Browse the repository at this point in the history
Use ttl.sh registry in CI
  • Loading branch information
marccampbell committed May 21, 2019
2 parents 33e6a8b + f204ceb commit e7352d4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions integration/Makefile
Expand Up @@ -5,15 +5,15 @@ SCHEMAHERO_IMAGE_NAME := $(shell uuidgen)
.PHONY: run
run: build integration-test-image
bin/schemahero-integration-tests run \
--manager-image-name "replreg.is/$(MANAGER_IMAGE_NAME):1h" \
--schemahero-image-name "replreg.is/$(SCHEMAHERO_IMAGE_NAME):1h"
--manager-image-name "ttl.sh/$(MANAGER_IMAGE_NAME):1h" \
--schemahero-image-name "ttl.sh/$(SCHEMAHERO_IMAGE_NAME):1h"

integration-test-image:
cd .. && curl -sL https://git.io/goreleaser | bash -s -- --snapshot --rm-dist --config deploy/.goreleaser.integration.yml
docker tag schemahero/schemahero:integration-test replreg.is/$(SCHEMAHERO_IMAGE_NAME):1h
docker tag schemahero/schemahero-manager:integration-test replreg.is/$(MANAGER_IMAGE_NAME):1h
docker push replreg.is/$(SCHEMAHERO_IMAGE_NAME):1h || true
docker push replreg.is/$(MANAGER_IMAGE_NAME):1h || true
docker tag schemahero/schemahero:integration-test ttl.sh/$(SCHEMAHERO_IMAGE_NAME):1h
docker tag schemahero/schemahero-manager:integration-test ttl.sh/$(MANAGER_IMAGE_NAME):1h
docker push ttl.sh/$(SCHEMAHERO_IMAGE_NAME):1h
docker push ttl.sh/$(MANAGER_IMAGE_NAME):1h

.PHONY: build
build: GO111MODULE = "on"
Expand Down

0 comments on commit e7352d4

Please sign in to comment.