Skip to content

Commit

Permalink
set step id
Browse files Browse the repository at this point in the history
  • Loading branch information
tk-hap authored Jun 6, 2024
1 parent 8c0eb58 commit 1e660aa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci-build-trainingportal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: PrepareRepoName
- name: Prepare Repo Name
id: prep-repo-name
run: |
echo "::set-output name=IMAGE_REPOSITORY::$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')"
echo "IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -34,4 +35,4 @@ jobs:
context: .
file: trainingportal/Dockerfile.trainingportal
push: true
tags: ghcr.io/${{ steps.PrepareRepoName.outputs.IMAGE_REPOSITORY }}:${{ github.sha }}
tags: ghcr.io/${{ steps.prep-repo-name.outputs.IMAGE_REPOSITORY }}:${{ github.sha }}

0 comments on commit 1e660aa

Please sign in to comment.