Compare commits
No commits in common. "fe7a254f25debc16fbf362dacb18fc98af324c76" and "41025e0c91ccc07e8d2c79eb0b0be21ed9f6bdea" have entirely different histories.
fe7a254f25
...
41025e0c91
|
|
@ -6,13 +6,13 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ni-dataops.unf-montreal.ca
|
REGISTRY: ghcr.io
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-image:
|
build-and-push-image:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
image: [datalad, datalad-apptainer, deface, dicom_indexer, heudiconv]
|
image: [datalad-apptainer, deface, dicom_indexer, heudiconv]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
@ -26,14 +26,14 @@ jobs:
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ vars.NIDATAOPS_BOT_NAME }}
|
username: ${{ env.NIDATAOPS_BOT_NAME }}
|
||||||
password: ${{ secrets.NIDATAOPS_BOT_REGISTRY_TOKEN }}
|
password: ${{ secrets.NIDATAOPS_BOT_REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.GITHUB_REPOSITORY_OWNER }}/${{ matrix.image }}
|
images: ${{ env.REGISTRY }}/${{ env.GITHUB_REPOSITORY_OWNER }}.${{ matrix.image }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
|
@ -54,7 +54,6 @@ build_all_dockers:
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- IMAGE_NAME:
|
- IMAGE_NAME:
|
||||||
- datalad
|
|
||||||
- datalad-docker
|
- datalad-docker
|
||||||
- datalad-apptainer
|
- datalad-apptainer
|
||||||
- heudiconv
|
- heudiconv
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ RUN apk add --no-cache \
|
||||||
make \
|
make \
|
||||||
util-linux-dev
|
util-linux-dev
|
||||||
|
|
||||||
ARG APPTAINER_COMMITISH="v1.3.0"
|
ARG APPTAINER_COMMITISH="main"
|
||||||
ARG MCONFIG_OPTIONS="--with-suid"
|
ARG MCONFIG_OPTIONS="--with-suid"
|
||||||
WORKDIR $GOPATH/src/github.com/apptainer
|
WORKDIR $GOPATH/src/github.com/apptainer
|
||||||
RUN git clone https://github.com/apptainer/apptainer.git \
|
RUN git clone https://github.com/apptainer/apptainer.git \
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
FROM python:3.11-alpine as builder
|
|
||||||
|
|
||||||
RUN apk update && apk add --no-cache curl bzip2 gcc libffi-dev musl-dev
|
|
||||||
|
|
||||||
RUN python -m pip install datalad pytest ssh_agent_setup
|
|
||||||
|
|
||||||
FROM python:3.11-alpine
|
|
||||||
COPY --from=builder /usr/local /usr/local
|
|
||||||
|
|
||||||
RUN apk update && apk add --no-cache git openssh-client git-annex
|
|
||||||
Loading…
Reference in New Issue