Skip to content
Open
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
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,21 @@ jobs:
~/auto shipit -vv
env:
GH_TOKEN: ${{ secrets.AUTO_USER_TOKEN }}

- name: Build Docker images
if: steps.auto-version.outputs.version != ''
run: |
docker build \
-t repronim/neurodocker:master \
-t repronim/neurodocker:latest \
-t repronim/neurodocker:"$(git describe | sed -e 's,^v,,g')" \
.

- name: Push Docker images
if: steps.auto-version.outputs.version != ''
run: |
docker login -u "$DOCKER_LOGIN" --password-stdin <<<"$DOCKER_TOKEN"
docker push --all-tags repronim/neurodocker
env:
DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
Loading