Skip to content

Commit 66df2f6

Browse files
authored
Merge pull request #17 from puppetlabs/build-updates
Update build workflow output
2 parents 7c4ce68 + 1daa3fa commit 66df2f6

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/container-all-prod-providers.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
container_prod_all_providers:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- run: echo "Building and tagging $GITHUB_REPOSITORY:${{ github.event.inputs.tag }}"
1514
- uses: actions/checkout@v2 # Checking out the repo
1615
- name: Build and Publish Docker image
1716
uses: VaultVulp/[email protected]
@@ -25,8 +24,16 @@ jobs:
2524
env:
2625
RELEASE_BODY_FILE: "${{ github.event.inputs.tag }}-prod-all-providers-release-body.md"
2726
run: |
28-
echo "Source image: $(grep ^FROM ./docker/prod-all-providers/Dockerfile |cut -d ' ' -f2) + OS updates\n" > ${RELEASE_BODY_FILE}
29-
echo "Gems:\n" >> ${RELEASE_BODY_FILE}
27+
echo "## Components" > ${RELEASE_BODY_FILE}
28+
echo "" >> ${RELEASE_BODY_FILE}
29+
echo "This release includes the following:" >> ${RELEASE_BODY_FILE}
30+
echo "" >> ${RELEASE_BODY_FILE}
31+
echo "### Source image" >> ${RELEASE_BODY_FILE}
32+
echo "" >> ${RELEASE_BODY_FILE}
33+
echo "- $(grep ^FROM ./docker/prod-all-providers/Dockerfile |cut -d ' ' -f2) + OS updates" >> ${RELEASE_BODY_FILE}
34+
echo "" >> ${RELEASE_BODY_FILE}
35+
echo "### Gems" >> ${RELEASE_BODY_FILE}
36+
echo "" >> ${RELEASE_BODY_FILE}
3037
echo "$(grep -e 'vmpooler ([0-9]' docker/prod-all-providers/Gemfile.lock | xargs -L1 echo -)" >> ${RELEASE_BODY_FILE}
3138
echo "$(grep -e 'vmpooler-provider-.* ([0-9]' docker/prod-all-providers/Gemfile.lock | xargs -L1 echo -)" >> ${RELEASE_BODY_FILE}
3239
- name: Tag Release

0 commit comments

Comments
 (0)