Skip to content

Commit

Permalink
Always package container, but only push for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
cguedel committed Oct 28, 2022
1 parent 2b037c7 commit ace93b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
run: dotnet test --no-build --verbosity normal
publish-container:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- name: Docker meta
Expand All @@ -51,5 +50,6 @@ jobs:
with:
context: ./
file: ./ChemDoserProxy/Dockerfile
push: ${{ github.ref_type == 'tag' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit ace93b3

Please sign in to comment.