Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only push docker images for releases #1290

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/docker_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ jobs:
tags: molpopgen/fwdpy11:latest, molpopgen/fwdpy11:${{ github.event.release.tag_name }}
file: deployment/docker/Dockerfile
context: .
-
name: Build and push from main
if: github.ref == 'refs/heads/main'
id: docker_bfild_main
uses: docker/build-push-action@v5
with:
push: true
tags: molpopgen/fwdpy11:latest
file: deployment/docker/Dockerfile
context: .
# -
# name: Build and push from main
# if: github.ref == 'refs/heads/main'
# id: docker_bfild_main
# uses: docker/build-push-action@v5
# with:
# push: true
# tags: molpopgen/fwdpy11:latest
# file: deployment/docker/Dockerfile
# context: .
-
name: Build image
if: github.event_name == 'pull_request'
Expand Down
2 changes: 2 additions & 0 deletions doc/misc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Several PRs resulted in the following changes:
* macos wheels are now built for two recent Python versions for both
x86 and arm64 platforms
* [cibuildwheel](https://cibuildwheel.pypa.io/en/stable/) is used to build wheels.
* `docker` images are only pushed for releases and not for each commit
to `main`.

## 0.22.0

Expand Down
Loading