Skip to content

Commit

Permalink
Test images before pushing them (#114)
Browse files Browse the repository at this point in the history
* Test images before pushing them

* Wording

* Only trigger CI when we change a layer

* Blackfire fix

* syntax
  • Loading branch information
Nyholm authored Nov 27, 2020
1 parent 9ab717f commit 3ef1ff7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: CI

on:
pull_request: ~
push:
branches:
- master
pull_request:
paths:
- layers/**

jobs:
build:
Expand Down Expand Up @@ -44,8 +43,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Build layer
- name: Build docker images
run: layer=${{ matrix.layer }} make docker-images

- name: Test layer
run: layer=${{ matrix.layer }} make test
- name: Test images
run: layer=${{ matrix.layer }} make test
3 changes: 3 additions & 0 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Build images
run: make docker-images

- name: Test images
run: make test

- name: Publish
env:
DOCKER_TAG: ${{ steps.get_version.outputs.VERSION }}
Expand Down
3 changes: 1 addition & 2 deletions layers/blackfire/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"72": "1.44.0",
"73": "1.46.0",
"74": "1.46.0"
}
}

0 comments on commit 3ef1ff7

Please sign in to comment.