|
|
|
@ -108,6 +108,11 @@ jobs: |
|
|
|
|
paths: |
|
|
|
|
- images/ |
|
|
|
|
|
|
|
|
|
- save_cache: |
|
|
|
|
key: v1-loki-plugin-{{ .Branch }}-{{ .Revision }} |
|
|
|
|
paths: |
|
|
|
|
- cmd/docker-driver/docker-driver |
|
|
|
|
|
|
|
|
|
publish: |
|
|
|
|
<<: *defaults |
|
|
|
|
steps: |
|
|
|
@ -116,6 +121,8 @@ jobs: |
|
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
key: v1-loki-{{ .Branch }}-{{ .Revision }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: v1-loki-plugin-{{ .Branch }}-{{ .Revision }} |
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
name: Load Images |
|
|
|
@ -136,7 +143,7 @@ jobs: |
|
|
|
|
command: | |
|
|
|
|
if [ -n "$DOCKER_USER" ]; then |
|
|
|
|
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" && |
|
|
|
|
make push-plugin |
|
|
|
|
make BUILD_IN_CONTAINER=false push-plugin |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
publish-master: |
|
|
|
@ -147,7 +154,9 @@ jobs: |
|
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
key: v1-loki-{{ .Branch }}-{{ .Revision }} |
|
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
|
|
key: v1-loki-plugin-{{ .Branch }}-{{ .Revision }} |
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
name: Load Images |
|
|
|
|
command: | |
|
|
|
@ -165,7 +174,7 @@ jobs: |
|
|
|
|
command: | |
|
|
|
|
if [ -n "$DOCKER_USER" ]; then |
|
|
|
|
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" && |
|
|
|
|
PLUGIN_TAG=master make push-plugin && PLUGIN_TAG=latest make push-plugin |
|
|
|
|
PLUGIN_TAG=master make BUILD_IN_CONTAINER=false push-plugin && PLUGIN_TAG=latest make BUILD_IN_CONTAINER=false push-plugin |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
test-helm: |
|
|
|
|