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

Commit 3795637

Browse files
authored
Merge pull request #516 from netlify/441-image-size-to-prs
Add change in Docker image size to PRs
2 parents 53b83b6 + 861f5c0 commit 3795637

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
on: push
3+
4+
jobs:
5+
Build:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Build Docker image
11+
run: docker build . --build-arg NF_IMAGE_VERSION=$GITHUB_SHA -t netlify/build:$GITHUB_SHA
12+
- uses: vbrown608/whalescale@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
currentTag: netlify/build:${{ github.sha }}
16+
defaultTag: netlify/build:xenial

0 commit comments

Comments
 (0)