mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
Change Matchbox container image publishing
* Use our own infra to perform image builds and push images. Provides future options for publishing images to multiple image registries and for multiple architectures, while keeping push permissions in-house * Remove Travis ability to push to Quay * Use Travis only for Go tests of Pull Requests
This commit is contained in:
@@ -12,12 +12,6 @@ install:
|
||||
script:
|
||||
- make
|
||||
deploy:
|
||||
- provider: script
|
||||
script: scripts/dev/travis-docker-push
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
go: '1.13.4'
|
||||
- provider: script
|
||||
script: contrib/dnsmasq/travis-deploy
|
||||
skip_cleanup: true
|
||||
|
||||
@@ -4,6 +4,10 @@ Notable changes between releases.
|
||||
|
||||
## Latest
|
||||
|
||||
* Update Matchbox container image publishing ([#795](https://github.com/poseidon/matchbox/pull/795))
|
||||
* Publish Matchbox images from internal infra to Quay (`quay.io/poseidon/matchbox`)
|
||||
* Update Go version from v1.13.4 to v1.13.11
|
||||
|
||||
## v0.8.3
|
||||
|
||||
* Publish docs to [https://matchbox.psdn.io](https://matchbox.psdn.io/) ([#769](https://github.com/poseidon/matchbox/pull/769))
|
||||
@@ -97,7 +101,7 @@ Note: Release signing key [has changed](https://github.com/poseidon/matchbox/blo
|
||||
* Use etcd3 by default in all clusters (remove etcd2 clusters)
|
||||
* Add Terraform examples for etcd3 and self-hosted Kubernetes 1.6.1
|
||||
|
||||
## v0.5.0 (2017-01-23)
|
||||
## v0.5.0 (2017-01-23)
|
||||
|
||||
* Rename project to CoreOS `matchbox`!
|
||||
* Add Profile `args` field to list kernel args
|
||||
|
||||
14
Makefile
14
Makefile
@@ -47,20 +47,6 @@ push:
|
||||
@buildah push docker://$(IMAGE_REPO):$(VERSION)
|
||||
@buildah push docker://$(IMAGE_REPO):latest
|
||||
|
||||
# for travis only
|
||||
|
||||
.PHONY: docker-image
|
||||
docker-image:
|
||||
@sudo docker build --rm=true -t $(LOCAL_REPO):$(VERSION) .
|
||||
@sudo docker tag $(LOCAL_REPO):$(VERSION) $(LOCAL_REPO):latest
|
||||
|
||||
.PHONY: docker-push
|
||||
docker-push: docker-image
|
||||
@sudo docker tag $(LOCAL_REPO):$(VERSION) $(IMAGE_REPO):latest
|
||||
@sudo docker tag $(LOCAL_REPO):$(VERSION) $(IMAGE_REPO):$(VERSION)
|
||||
@sudo docker push $(IMAGE_REPO):latest
|
||||
@sudo docker push $(IMAGE_REPO):$(VERSION)
|
||||
|
||||
.PHONY: update
|
||||
update:
|
||||
@GOFLAGS="" go get -u
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Travis Deploy Docker Push
|
||||
set -e
|
||||
|
||||
docker info
|
||||
GOOS=linux make build
|
||||
make docker-image
|
||||
docker login -u="$DOCKER_USERNAME" -p=$DOCKER_PASSWORD quay.io
|
||||
make docker-push
|
||||
|
||||
Reference in New Issue
Block a user