Skip to content

Commit

Permalink
debug docker
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean committed Feb 10, 2025
1 parent 809f3ad commit c881fb4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,15 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ inputs.publish }}
context: .
file: ${{ matrix.folder }}/Dockerfile
tags: waltid/${{ matrix.image }}:${{ inputs.tag }}, waltid/${{ matrix.image }}:${{ inputs.version }}
- name: Save Docker Image as tar
if: ${{ inputs.artifact }}
run: docker save waltid/${{ matrix.image }}:${{ inputs.version }} | gzip > ${{ runner.temp }}/${{ matrix.image }}.tar.gz
run: docker save waltid/${{ matrix.image }}:${{ inputs.version }} -v | gzip > ${{ runner.temp }}/${{ matrix.image }}.tar.gz
- name: List Docker images
run: docker images
- name: Check test image size
run: ls -lh ${{ runner.temp }}/${{ matrix.image }}.tar.gz
- name: Upload artifact
if: ${{ inputs.artifact }}
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c881fb4

Please sign in to comment.