Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrej-fabry authored Feb 10, 2020
1 parent 658ec38 commit 45091ea
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ 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*
- name: Dev image
run: make dev-image
- name: Prod image
run: make prod-image

- name: Tag images
run: |
docker tag dev_vpp_agent ligato/dev-vpp-agent:latest
Expand All @@ -51,6 +59,14 @@ 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*
- name: Dev image
run: make dev-image
- name: Prod image
run: make prod-image

- name: Get tag
id: vars
run: |
Expand Down

0 comments on commit 45091ea

Please sign in to comment.