-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
192 changed files
with
4,752 additions
and
1,532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build and Upload Docker Image of Current Dev Branch to GHCR | ||
|
||
on: | ||
schedule: | ||
- cron: "0 16 * * 1" # Weekly at noon EST on Monday | ||
workflow_dispatch: | ||
|
||
concurrency: # Cancel previous workflows on the same pull request | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
release-image: | ||
name: Build and Upload Docker Image of Current Dev Branch to GHCR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ secrets.DOCKER_UPLOADER_USERNAME }} | ||
password: ${{ secrets.DOCKER_UPLOADER_PASSWORD }} | ||
- name: Get current date | ||
id: date | ||
run: | | ||
date_tag="$(date +'%Y-%m-%d')" | ||
echo "date_tag=$date_tag" >> $GITHUB_OUTPUT | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true # Push is a shorthand for --output=type=registry | ||
tags: ghcr.io/catalystneuro/neuroconv:dev,ghcr.io/catalystneuro/neuroconv:${{ steps.date.outputs.date_tag }} | ||
context: . | ||
file: dockerfiles/neuroconv_dev_dockerfile | ||
provenance: false |
46 changes: 46 additions & 0 deletions
46
.github/workflows/build_and_upload_docker_image_latest_release.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build and Upload Docker Image of Latest Release to GHCR | ||
|
||
on: | ||
workflow_run: | ||
workflows: [auto-publish] | ||
types: [completed] | ||
workflow_dispatch: | ||
|
||
concurrency: # Cancel previous workflows on the same pull request | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
release-image: | ||
name: Build and Upload Docker Image of Latest Release to GHCR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Parse the version from the GitHub latest release tag | ||
id: parsed_version | ||
run: | | ||
git fetch --prune --unshallow --tags | ||
tags="$(git tag --list)" | ||
version_tag=${tags: -6 : 6} | ||
echo "version_tag=$version_tag" >> $GITHUB_OUTPUT | ||
- name: Printout parsed version for GitHub Action log | ||
run: echo ${{ steps.parsed_version.outputs.version_tag }} | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ secrets.DOCKER_UPLOADER_USERNAME }} | ||
password: ${{ secrets.DOCKER_UPLOADER_PASSWORD }} | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true # Push is a shorthand for --output=type=registry | ||
tags: ghcr.io/catalystneuro/neuroconv:latest,ghcr.io/catalystneuro/neuroconv:${{ steps.parsed_version.outputs.version_tag }} | ||
context: . | ||
file: dockerfiles/neuroconv_latest_release_dockerfile | ||
provenance: false |
37 changes: 37 additions & 0 deletions
37
.github/workflows/build_and_upload_docker_image_yaml_variable.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build and Upload Docker Image of latest with YAML variable to GHCR | ||
|
||
on: | ||
workflow_run: | ||
workflows: [build_and_upload_docker_image_latest_release] | ||
types: [completed] | ||
workflow_dispatch: | ||
|
||
concurrency: # Cancel previous workflows on the same pull request | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
release-image: | ||
name: Build and Upload Docker Image of latest with YAML variable to GHCR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ secrets.DOCKER_UPLOADER_USERNAME }} | ||
password: ${{ secrets.DOCKER_UPLOADER_PASSWORD }} | ||
- name: Build and push YAML variable image based on latest | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true # Push is a shorthand for --output=type=registry | ||
tags: ghcr.io/catalystneuro/neuroconv:yaml_variable | ||
context: . | ||
file: dockerfiles/neuroconv_latest_yaml_variable | ||
provenance: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.