Skip to content

Commit

Permalink
ci: adds publishing step (#17)
Browse files Browse the repository at this point in the history
* ci: adds publishing step

* ci: eof newline
  • Loading branch information
jtyoung84 authored Mar 19, 2024
1 parent 8ea8b8e commit 84f0880
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tag_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,8 @@ jobs:
ls
mkdir build
sudo singularity build build/container.sif scripts/singularity_build.def
- name: Login and Deploy Container
run: |
echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ github.actor }} --password-stdin oras://ghcr.io
singularity push aind-data-transformation/build/container.sif oras://ghcr.io/${GITHUB_REPOSITORY}:${{ needs.tag.outputs.new_version }}
singularity push aind-data-transformation/build/container.sif oras://ghcr.io/${GITHUB_REPOSITORY}:latest

0 comments on commit 84f0880

Please sign in to comment.