Skip to content

Commit

Permalink
Tag docker images with semantic versions (#320)
Browse files Browse the repository at this point in the history
* Update docker-linux.yml

* Update docker-linux.yml
  • Loading branch information
badrishc authored Apr 24, 2024
1 parent 41e9ebd commit 365c5a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
workflows: ['Garnet .NET CI']
types: [completed]
branches: [main]
push:
tags: 'v*'

jobs:
docker:
Expand All @@ -31,7 +33,7 @@ jobs:
permissions:
contents: read
packages: write
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name != 'workflow_run' }}
steps:
-
name: Checkout
Expand Down

0 comments on commit 365c5a3

Please sign in to comment.