Skip to content

Commit

Permalink
Filter output of docker images (#61)
Browse files Browse the repository at this point in the history
* Filter output of docker images

* Filter by since

* Filter out none
  • Loading branch information
ludeeus authored Oct 28, 2020
1 parent ebcdb1f commit c60c59d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ runs:
fi
echo "::set-output name=version::${input}"
- shell: bash
run: docker pull homeassistant/amd64-builder:${{ steps.version.outputs.version }}

- shell: bash
id: builder
run: |
builder=$(docker images homeassistant/amd64-builder:${{ steps.version.outputs.version }} -q)
echo "::set-output name=id::$builder"
- shell: bash
id: build
run: |
Expand All @@ -29,7 +38,12 @@ runs:
- shell: bash
id: verify
run: docker images
run: |
docker images \
--format "table {{.Repository}}:{{.Tag}}\t{{.Size}}" \
--filter reference="*/*" \
--filter reference="*" \
--filter since=${{ steps.builder.outputs.id }}
branding:
icon: 'home'
color: 'blue'

0 comments on commit c60c59d

Please sign in to comment.