Skip to content

Update confounds.py (#51) #7

Update confounds.py (#51)

Update confounds.py (#51) #7

Workflow file for this run

name: Publish Docker image
on:
push:
branches: [main]
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
attestations: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: niprepsbot
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: nipreps/fmripost-aroma
- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
push: true
tags: |
nipreps/fmripost-aroma:unstable
${{ github.event_name == 'release' && 'nipreps/fmripost-aroma:latest' || '' }}
${{ github.event_name == 'release' && 'nipreps/fmripost-aroma:${{ steps.meta.outputs.tags }}' || '' }}