Skip to content

Commit

Permalink
Fix envs
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed Jan 6, 2025
1 parent 7a40ae2 commit 83dc662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ runs:
if [ -z ${{ inputs.image_tag }} ]; then
BUILD_TIMESTAMP="$(date +%s)"
SHORT_SHA="$(git rev-parse --short HEAD)"
echo GHCR_TAG="ghcr.io/${{ github.repository }}/${{ env.REPOSITORY_NAME }}:develop-${{ env.BUILD_TIMESTAMP }}-git.${{ env.SHORT_SHA }}" >> $GITHUB_ENV
echo GHCR_TAG="ghcr.io/${{ github.repository }}/$REPOSITORY_NAME:develop-$BUILD_TIMESTAMP-git.$SHORT_SHA" >> $GITHUB_ENV
else
echo GHCR_TAG="ghcr.io/${{ github.repository }}/${{ env.REPOSITORY_NAME }}:${{ inputs.image_tag }}" >> $GITHUB_ENV
echo GHCR_TAG="ghcr.io/${{ github.repository }}/$REPOSITORY_NAME:${{ inputs.image_tag }}" >> $GITHUB_ENV
fi
- name: Restore Go mod (pkg)
Expand Down

0 comments on commit 83dc662

Please sign in to comment.