Skip to content

Commit

Permalink
build: Use dive image in action.
Browse files Browse the repository at this point in the history
  • Loading branch information
030 committed Dec 19, 2023
1 parent 4dc3662 commit 32ff0c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/dive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ jobs:
dive:
runs-on: ubuntu-latest
name: Analyze image efficiency
env:
DIVE_ANALYZE_IMAGE_TAG: utrecht/n3dr:${{ github.sha }}
steps:
- uses: actions/[email protected]
- name: Set DIVE_ANALYZE_IMAGE_TAG
run: echo "DIVE_ANALYZE_IMAGE_TAG=utrecht/n3dr:${{ github.sha }}" >> $GITHUB_ENV

Check failure on line 11 in .github/workflows/dive.yml

View workflow job for this annotation

GitHub Actions / yamllint

11:81 [line-length] line too long (88 > 80 characters)
- name: Test
run: echo $DIVE_ANALYZE_IMAGE_TAG
- name: Build image
run: docker build -t {{ env.DIVE_ANALYZE_IMAGE_TAG }} .
run: docker build -t ${DIVE_ANALYZE_IMAGE_TAG} .
- uses: 030/dive-action@image
with:
image: '{{ env.DIVE_ANALYZE_IMAGE_TAG }}'
image: ${DIVE_ANALYZE_IMAGE_TAG}

0 comments on commit 32ff0c4

Please sign in to comment.