Sha256: d81ac199be9a5590bae0de62f0b8df8daf02d8b446729b7b6822bffd30d122f7
Contents?: true
Size: 697 Bytes
Versions: 1
Compression:
Stored size: 697 Bytes
Contents
#!/usr/bin/env bash set -e FLUENTD_HEC_GEM_VERSION=`cat docker/FLUENTD_HEC_GEM_VERSION` echo "Building docker image..." cp /tmp/pkg/fluent-plugin-k8s-metrics-agg-*.gem docker VERSION=`cat VERSION` docker build --build-arg VERSION=$FLUENTD_HEC_GEM_VERSION --no-cache -t splunk/fluent-plugin-k8s-metrics-agg:metrics-aggregator ./docker docker tag splunk/fluent-plugin-k8s-metrics-agg:metrics-aggregator splunk/${DOCKERHUB_REPO_NAME}:${VERSION} echo "Push docker image to splunk dockerhub..." docker login --username=$DOCKERHUB_ACCOUNT_ID --password=$DOCKERHUB_ACCOUNT_PASS docker push splunk/${DOCKERHUB_REPO_NAME}:${VERSION} | awk 'END{print}' echo "Docker image pushed successfully to docker-hub."
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-k8s-metrics-agg-1.1.1 | .circleci/build_and_push_to_dockerhub.sh |