Skip to content

Commit

Permalink
CI: fix the GitHub Actions trigger in docker.yml (numpy#18912)
Browse files Browse the repository at this point in the history
Also remove `tags: *`, this is unnecessary. This mirrors the
fix in SciPy, so should work. Somehow GitHub Actions no longer
likes `./` at the start of a path.
  • Loading branch information
rgommers authored May 5, 2021
1 parent a0f4621 commit 0f7f313
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ on:
branches:
- main
paths:
- './environment.yml'
tags:
- '*'

- 'environment.yml'

jobs:
build:
name: Build base Docker image
Expand Down Expand Up @@ -56,4 +54,4 @@ jobs:
numpy/numpy-dev:${{ steps.getrefs.outputs.date }}-${{ steps.getrefs.outputs.branch}}-${{ steps.getrefs.outputs.sha8 }}, numpy/numpy-dev:latest
- name: Image digest
# Return details of the image build: sha and shell
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build.outputs.digest }}
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# To use:
#
# $ conda env create -f environment.yml # `mamba` works too for this command
# $ conda activate numpy-dev
#
name: numpy-dev
channels:
- conda-forge
Expand Down

0 comments on commit 0f7f313

Please sign in to comment.