Skip to content

Commit

Permalink
fix push
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Dec 19, 2023
1 parent 7c6f8bb commit ee9d630
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/conda_and_docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- uses: docker/metadata-action@v5
id: meta
with:
images: tomographicimaging/cil
images: ghcr.io/${{ github.repository }}
tags: |
type=ref,event=branch
type=ref,event=pr
Expand All @@ -126,8 +126,8 @@ jobs:
- name: Get tag
id: build-args
run: |
if ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}; then
echo "args=CIL_TAG=${{ github.ref_name }}" >> $GITHUB_OUTPUT
if ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }}; then
echo "args=CIL_TAG=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
else
echo "args=" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit ee9d630

Please sign in to comment.