Skip to content

Commit

Permalink
Fix docker image builds for new releases
Browse files Browse the repository at this point in the history
  • Loading branch information
giffels committed Nov 10, 2023
1 parent 36ac7c1 commit 9433826
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docker Builds
on:
push:
branches:
- '**'
- 'master'
tags:
- '*.*.*'
pull_request:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
type=raw,value=latest
images: matterminers/${{ matrix.containers }}
- name: Login to DockerHub
if: github.repository == 'MatterMiners/tardis' && github.ref == 'refs/heads/master'
if: github.repository == 'MatterMiners/tardis' && github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand All @@ -62,7 +62,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: containers/${{ matrix.containers }}
push: ${{ github.repository == 'MatterMiners/tardis' && github.ref == 'refs/heads/master' }}
push: ${{ github.repository == 'MatterMiners/tardis' && github.event_name != 'pull_request' }}
file: containers/${{ matrix.containers }}/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
build-args: |
Expand Down
2 changes: 1 addition & 1 deletion docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. Created by changelog.py at 2023-10-10, command
.. Created by changelog.py at 2023-11-10, command
'/Users/giffler/.cache/pre-commit/repor6pnmwlm/py_env-python3.10/bin/changelog docs/source/changes compile --categories Added Changed Fixed Security Deprecated --output=docs/source/changelog.rst'
based on the format of 'https://keepachangelog.com/'
Expand Down

0 comments on commit 9433826

Please sign in to comment.