Simplify 'echo outputs' workflow steps

Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
Tim Etchells 2021-02-21 16:44:45 -05:00 committed by Divyanshu Agrawal
parent 24d8460d9f
commit dec02e9270
2 changed files with 5 additions and 10 deletions

View file

@ -34,8 +34,7 @@ jobs:
- name: Echo outputs
run: |
echo "Digest: ${{ steps.push.outputs.digest }}"
echo "Registry Paths: ${{ steps.push.outputs.registry-paths }}"
echo "${{ toJSON(steps.push.outputs) }}"
build-only-docker:
name: Build and push image built only on Docker
@ -63,8 +62,7 @@ jobs:
- name: Echo outputs
run: |
echo "Digest: ${{ steps.push.outputs.digest }}"
echo "Registry Paths: ${{ steps.push.outputs.registry-paths }}"
echo "${{ toJSON(steps.push.outputs) }}"
build-podman-latest:
name: Build and push image built latest on Podman
@ -99,8 +97,7 @@ jobs:
- name: Echo outputs
run: |
echo "Digest: ${{ steps.push.outputs.digest }}"
echo "Registry Paths: ${{ steps.push.outputs.registry-paths }}"
echo "${{ toJSON(steps.push.outputs) }}"
build-docker-latest:
name: Build and push image built latest on Docker
@ -135,5 +132,4 @@ jobs:
- name: Echo outputs
run: |
echo "Digest: ${{ steps.push.outputs.digest }}"
echo "Registry Paths: ${{ steps.push.outputs.registry-paths }}"
echo "${{ toJSON(steps.push.outputs) }}"

View file

@ -100,5 +100,4 @@ jobs:
- name: Echo outputs
run: |
echo "Digest: ${{ steps.push.outputs.digest }}"
echo "Registry Paths: ${{ steps.push.outputs.registry-paths }}"
echo "${{ toJSON(steps.push.outputs) }}"