Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit c76d7a4

Browse files
committed
Build dummy image
1 parent 53b83b6 commit c76d7a4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/checksize.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Check-Size
2+
3+
on: push
4+
5+
jobs:
6+
check-size:
7+
name: Check image size
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Build Docker image
13+
run: docker build . --file Dockerfile.dummy --build-arg NF_IMAGE_VERSION=$GITHUB_SHA -t netlify/build:$GITHUB_SHA
14+
- name: Check image size
15+
run: docker image inspect netlify/build:$GITHUB_SHA --format='{{.Size}}'

Dockerfile.dummy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM alpine:latest

0 commit comments

Comments
 (0)