Skip to content

Commit

Permalink
Update testbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Phipsiart authored Sep 7, 2024
1 parent a8dc93d commit aedc1a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
if: matrix.node-version == '22.x'
run: |
echo "🐳 Building Docker image..."
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]'):latest
IMAGE_NAME=ghcr.io/$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]'):latest
docker build -t $IMAGE_NAME .
- name: Push Docker image to GHCR
if: matrix.node-version == '22.x'
run: |
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]'):latest
IMAGE_NAME=ghcr.io/$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]'):latest
echo "📦 Pushing Docker image to GitHub Container Registry..."
docker push $IMAGE_NAME

0 comments on commit aedc1a5

Please sign in to comment.