Skip to content

Commit

Permalink
Actually push the build info file
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Mar 15, 2021
1 parent a9c3fe9 commit cbe8cc3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,14 @@ jobs:
\"VcsRoot\": \"https://github.com/OctopusSamples/RandomQuotes-Java\",
\"Commits\":
[{\"Id\":\"${{ github.sha }}\", \"LinkUrl\":\"https://github.com/OctopusSamples/RandomQuotes-Java/commit/${{ github.sha }}\", \"Comment\": \"${{ github.event.head_commit.message }}\"}]
}}" > buildinfo.json; cat buildinfo.json
}}" > dockerbuildinfo.json; cat dockerbuildinfo.json
- name: Push Build Info Package
run: >-
octo build-information
--space=${{ secrets.OCTOPUS_SERVER_SPACE}}
--server=${{ secrets.OCTOPUS_SERVER_URL }}
--apiKey=${{ secrets.OCTOPUS_API_KEY }}
--package-id=ctopussamples/randomquotesjava
--version=0.1.${{ github.run_number }}
--file=dockerbuildinfo.json

0 comments on commit cbe8cc3

Please sign in to comment.