Skip to content

Commit

Permalink
CI: make reposotory to lower
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclinder committed Apr 29, 2024
1 parent 12508ea commit 7acf8bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/call-image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ jobs:
run: |
GIT_COMMIT_VERSION=$( git show -s --format='format:%H')
GIT_COMMIT_TIME=$( git show -s --format='format:%aI')
echo ::set-output name=commit_version::${GIT_COMMIT_VERSION}
echo ::set-output name=commit_time::${GIT_COMMIT_TIME}
echo "commit_version=${GIT_COMMIT_VERSION}" >> "${GITHUB_OUTPUT}"
echo "commit_time=${GIT_COMMIT_TIME}" >> "${GITHUB_OUTPUT}"
echo "repo=${GITHUB_REPOSITORY@L}" >> "${GITHUB_OUTPUT}"
- name: Generate Dockerfile
id: dockerfile
Expand All @@ -79,7 +80,7 @@ jobs:
platforms: linux/amd64,linux/arm64
github-token: ${{ secrets.GITHUB_TOKEN }}
tags: |
${{ env.ONLINE_REGISTER }}/${{ github.repository }}:${{ inputs.tag }}
${{ env.ONLINE_REGISTER }}/${{ steps.arg.outputs.repo }}:${{ inputs.tag }}
build-args: |
GIT_COMMIT_VERSION=${{ steps.arg.outputs.commit_version }}
GIT_COMMIT_TIME=${{ steps.arg.outputs.commit_time }}
Expand Down

0 comments on commit 7acf8bd

Please sign in to comment.