Sha256: 7d92562c7504e6dc64c0ae02f53367b011e0f14c212f1faf57e6911a3b1044ce
Contents?: true
Size: 681 Bytes
Versions: 12
Compression:
Stored size: 681 Bytes
Contents
export VERSION=$1 echo "VERSION: ${VERSION}" echo "=== Pushing tags to github ====" git tag v$VERSION git push origin --tags echo "=== Building Gem ====" gem build pg_online_schema_change.gemspec echo "=== Pushing gem ====" gem push pg_online_schema_change-$VERSION.gem echo "=== Sleeping for 5s ====" sleep 5 echo "=== Building Image ====" docker build . --build-arg VERSION=$VERSION -t shayonj/pg-osc:$VERSION echo "=== Tagging Image ====" docker image tag shayonj/pg-osc:$VERSION shayonj/pg-osc:latest echo "=== Pushing Image ====" docker push shayonj/pg-osc:$VERSION docker push shayonj/pg-osc:latest echo "=== Cleaning up ====" rm pg_online_schema_change-$VERSION.gem
Version data entries
12 entries across 12 versions & 1 rubygems