Skip to content

Commit

Permalink
Revise Github workflow
Browse files Browse the repository at this point in the history
Build docker image on tagging with version number.
A git tag of v1.2.3 should tag the image with :1.2.3
  • Loading branch information
JimBacon committed Aug 21, 2024
1 parent a4cb80d commit 24f76f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Pull request workflow
name: Push and Pull request workflow

on:
pull_request:
branches:
- main

push:
branches:
- main

jobs:
call-build-and-test:
uses: ./.github/workflows/reuse-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Push workflow

on:
push:
branches:
- main
tags:
- 'v*'

jobs:
call-build-and-test:
Expand Down

0 comments on commit 24f76f8

Please sign in to comment.