Build CI image using oci-build-task resource

This commit is contained in:
Brian Clozel
2022-05-03 15:50:29 +02:00
parent 5b1719cd77
commit 7aedb9ee33
4 changed files with 50 additions and 13 deletions

View File

@@ -1,8 +0,0 @@
#!/bin/bash
export BUILD_INFO_LOCATION=$(pwd)/artifactory-repo/build-info.json
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
java -jar /opt/concourse-release-scripts.jar syncToCentral "RELEASE" $BUILD_INFO_LOCATION || { exit 1; }
echo "Sync complete"
echo $version > version/version