Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrej-fabry committed Feb 11, 2020
1 parent f7d1246 commit d570750
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/docker.yml
Expand Up @@ -16,15 +16,15 @@ jobs:
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2
- name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/v*:refs/tags/v*
- uses: actions/checkout@v1
- name: Dev image
run: make dev-image
- name: Prod image
run: make prod-image
- name: List images
run: docker images
run: |
docker images
git status
deploy-latest:
name: deploy latest
Expand All @@ -33,9 +33,7 @@ jobs:
if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/v')

steps:
- uses: actions/checkout@v2
- name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/v*:refs/tags/v*
- uses: actions/checkout@v1
- name: Dev image
run: make dev-image
- name: Prod image
Expand All @@ -59,9 +57,7 @@ jobs:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/v')

steps:
- uses: actions/checkout@v2
- name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/v*:refs/tags/v*
- uses: actions/checkout@v1
- name: Dev image
run: make dev-image
- name: Prod image
Expand Down

0 comments on commit d570750

Please sign in to comment.