Skip to content

Commit

Permalink
Merge pull request #23 from UNDP-Data/otag
Browse files Browse the repository at this point in the history
enable push on tags
  • Loading branch information
iferencik authored Nov 27, 2023
2 parents a26cd78 + f7eab9e commit ad8feb3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
tags:
- 'v*'
pull_request:
tags:
- 'v*'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/cogserver
Expand Down Expand Up @@ -40,7 +38,7 @@ jobs:
with:
context: .
file: Dockerfile
push: ${{ github.ref == 'refs/heads/main'}}
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')}}
tags: |
${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit ad8feb3

Please sign in to comment.