Skip to content

Commit

Permalink
remove docker push from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
essharom committed Aug 21, 2024
1 parent 0ce141b commit 458c577
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ jobs:
ghcr.io/${{ github.repository }}:latest \
nextflow run . -profile test,ci,docker
- name: Push image to GitHub Container Registry
if: startsWith(github.event.ref, 'refs/tags')
uses: docker/build-push-action@v2
with:
context: .
file: containers/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository }}:v0.0.10, ghcr.io/${{ github.repository }}:latest
# Uncomment this section only if you need to push a new image
# - name: Push image to GitHub Container Registry
# if: startsWith(github.event.ref, 'refs/tags')
# uses: docker/build-push-action@v2
# with:
# context: .
# file: containers/Dockerfile
# platforms: linux/amd64
# push: true
# tags: |
# ghcr.io/${{ github.repository }}:v0.0.10, ghcr.io/${{ github.repository }}:latest

0 comments on commit 458c577

Please sign in to comment.