From 68bcf9a9afe081f960956b1bb5fb148a551daab1 Mon Sep 17 00:00:00 2001 From: jtyoung84 <104453205+jtyoung84@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:50:13 -0700 Subject: [PATCH 1/2] ci: adds check of working directory --- .github/workflows/tag_and_publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tag_and_publish.yml b/.github/workflows/tag_and_publish.yml index 959ba25..e317071 100644 --- a/.github/workflows/tag_and_publish.yml +++ b/.github/workflows/tag_and_publish.yml @@ -107,6 +107,7 @@ jobs: cd .. - name: Build sif container run: | + ls mkdir aind-data-transformation/build sudo singularity build aind-data-transformation/build/container.sif aind-data-transformation/scripts/singularity_build.def - name: Login and Deploy Container From c447e8c6d76a24d10646f3aa08357787dd452a07 Mon Sep 17 00:00:00 2001 From: jtyoung84 <104453205+jtyoung84@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:51:19 -0700 Subject: [PATCH 2/2] ci: temp remove publish step --- .github/workflows/tag_and_publish.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/tag_and_publish.yml b/.github/workflows/tag_and_publish.yml index e317071..9f531af 100644 --- a/.github/workflows/tag_and_publish.yml +++ b/.github/workflows/tag_and_publish.yml @@ -110,8 +110,3 @@ jobs: ls mkdir aind-data-transformation/build sudo singularity build aind-data-transformation/build/container.sif aind-data-transformation/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