Skip to content

Commit

Permalink
build: removes if statement (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 authored Jul 5, 2024
1 parent b1c5249 commit e62cc52
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/tag_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ jobs:
sudo singularity build build/container.sif scripts/singularity_build.def
- name: Login and Deploy Container
run: |
if [[ ! -n ${{ jobs.tag.outputs.new_version }} ]]; then
echo "Tag is empty" && exit 1
else
echo "Tag is not empty"
fi
echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ github.actor }} --password-stdin oras://ghcr.io
singularity push build/container.sif oras://ghcr.io/${GITHUB_REPOSITORY}:${{ jobs.tag.outputs.new_version }}
singularity push build/container.sif oras://ghcr.io/${GITHUB_REPOSITORY}:latest

0 comments on commit e62cc52

Please sign in to comment.