Skip to content

Commit cbe8cc3

Browse files
committed
Actually push the build info file
1 parent a9c3fe9 commit cbe8cc3

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/maven.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,14 @@ jobs:
109109
\"VcsRoot\": \"https://github.com/OctopusSamples/RandomQuotes-Java\",
110110
\"Commits\":
111111
[{\"Id\":\"${{ github.sha }}\", \"LinkUrl\":\"https://github.com/OctopusSamples/RandomQuotes-Java/commit/${{ github.sha }}\", \"Comment\": \"${{ github.event.head_commit.message }}\"}]
112-
}}" > buildinfo.json; cat buildinfo.json
112+
}}" > dockerbuildinfo.json; cat dockerbuildinfo.json
113+
114+
- name: Push Build Info Package
115+
run: >-
116+
octo build-information
117+
--space=${{ secrets.OCTOPUS_SERVER_SPACE}}
118+
--server=${{ secrets.OCTOPUS_SERVER_URL }}
119+
--apiKey=${{ secrets.OCTOPUS_API_KEY }}
120+
--package-id=ctopussamples/randomquotesjava
121+
--version=0.1.${{ github.run_number }}
122+
--file=dockerbuildinfo.json

0 commit comments

Comments
 (0)