Skip to content

Commit

Permalink
Rebuild docker image before execute project build (java-native-access…
Browse files Browse the repository at this point in the history
…#117)

Motivation:

To ensure we pick up changes we need to rebuild the image before we run the build

Modifications:

Add extra step which rebuilds image

Result:

Image always up to date
  • Loading branch information
normanmaurer authored Dec 20, 2020
1 parent 45f9204 commit 483e2c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
restore-keys: |
docker-cache-${{ steps.cache-key.outputs.key }}-
- name: Run docker-compose
- name: Build docker image
run: docker-compose -f docker/docker-compose.centos-6.yaml -f docker/docker-compose.centos-6.18.yaml build

- name: Execute project build
run: docker-compose -f docker/docker-compose.centos-6.yaml -f docker/docker-compose.centos-6.18.yaml run build

- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 483e2c9

Please sign in to comment.