Skip to content

Commit

Permalink
attempt to solve the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytropolityka committed Aug 11, 2024
1 parent dacb67d commit db508ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set IMAGE_NAME
run: echo "IMAGE_NAME=$(basename ${{ matrix.image }})" >> $GITHUB_ENV

- name: Docker meta
id: meta
run: |
PUSH_IMAGE_NAME=$(basename ${{ matrix.image }})
echo "PUSH_IMAGE_NAME=${PUSH_IMAGE_NAME}" >> $GITHUB_ENV
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/${{ github.repository_owner }}/Athena/${{ env.PUSH_IMAGE_NAME }}
ls1tum/athena_${{ env.PUSH_IMAGE_NAME }}
ghcr.io/${{ github.repository_owner }}/Athena/${{ env.IMAGE_NAME }}
ls1tum/athena_${{ env.IMAGE_NAME }}
tags: |
type=raw,value=${{ github.ref == 'refs/heads/develop' && 'develop' || github.sha }}
type=raw,value=${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.sha }}
Expand Down

0 comments on commit db508ca

Please sign in to comment.