Skip to content

Commit

Permalink
Merge pull request #17 from puppetlabs/build-updates
Browse files Browse the repository at this point in the history
Update build workflow output
  • Loading branch information
genebean authored Dec 9, 2021
2 parents 7c4ce68 + 1daa3fa commit 66df2f6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/container-all-prod-providers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
container_prod_all_providers:
runs-on: ubuntu-latest
steps:
- run: echo "Building and tagging $GITHUB_REPOSITORY:${{ github.event.inputs.tag }}"
- uses: actions/checkout@v2 # Checking out the repo
- name: Build and Publish Docker image
uses: VaultVulp/[email protected]
Expand All @@ -25,8 +24,16 @@ jobs:
env:
RELEASE_BODY_FILE: "${{ github.event.inputs.tag }}-prod-all-providers-release-body.md"
run: |
echo "Source image: $(grep ^FROM ./docker/prod-all-providers/Dockerfile |cut -d ' ' -f2) + OS updates\n" > ${RELEASE_BODY_FILE}
echo "Gems:\n" >> ${RELEASE_BODY_FILE}
echo "## Components" > ${RELEASE_BODY_FILE}
echo "" >> ${RELEASE_BODY_FILE}
echo "This release includes the following:" >> ${RELEASE_BODY_FILE}
echo "" >> ${RELEASE_BODY_FILE}
echo "### Source image" >> ${RELEASE_BODY_FILE}
echo "" >> ${RELEASE_BODY_FILE}
echo "- $(grep ^FROM ./docker/prod-all-providers/Dockerfile |cut -d ' ' -f2) + OS updates" >> ${RELEASE_BODY_FILE}
echo "" >> ${RELEASE_BODY_FILE}
echo "### Gems" >> ${RELEASE_BODY_FILE}
echo "" >> ${RELEASE_BODY_FILE}
echo "$(grep -e 'vmpooler ([0-9]' docker/prod-all-providers/Gemfile.lock | xargs -L1 echo -)" >> ${RELEASE_BODY_FILE}
echo "$(grep -e 'vmpooler-provider-.* ([0-9]' docker/prod-all-providers/Gemfile.lock | xargs -L1 echo -)" >> ${RELEASE_BODY_FILE}
- name: Tag Release
Expand Down

0 comments on commit 66df2f6

Please sign in to comment.