Skip to content

Commit

Permalink
CI: Update docker 'latest' for every workflow event
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa authored Apr 1, 2024
1 parent 5df7248 commit 6018c8b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
uses: docker/metadata-action@v4
with:
images: antsx/antspy
flavor: |
latest=${{ startsWith(github.ref, 'refs/tags/v') }}
tags: |
type=semver,pattern={{version}}
-
name: Login to DockerHub
if: ${{ github.repository == 'ANTsX/ANTsPy' }}
Expand All @@ -45,6 +41,5 @@ jobs:
context: .
platforms: linux/amd64
push: ${{ github.repository == 'ANTsX/ANTsPy' }}
tags: ${{ github.event_name == 'schedule' && 'antsx/antspy:nightly' || steps.meta.outputs.tags }}
tags: ${{ github.event_name == 'schedule' && 'antsx/antspy:nightly,antsx/antspy:latest' || steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 6018c8b

Please sign in to comment.