Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
fix: only run if Dockerfile changed
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Apr 3, 2020
1 parent 68b2041 commit b020bff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- saga
paths:
- Dockerfile
- .github/workflows/publish-docker.yaml
schedule:
- cron: "0 0 * * *"

Expand All @@ -20,7 +23,6 @@ jobs:
docker build -t bifravst/azure-dev .
- name: Publish image
run: |
cd nrf
docker login -u bifravst -p $DOCKER_PASSWORD
docker images
docker push bifravst/azure-dev

0 comments on commit b020bff

Please sign in to comment.