Skip to content

Commit

Permalink
Update image-build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
azatsarynnyy authored Oct 3, 2024
1 parent 3613248 commit 8a63648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
SHORT_SHA1=$(git rev-parse --short=7 HEAD)
if [[ ${{ env.BRANCH_NAME }} == main ]]; then
docker build -f build/dockerfiles/Dockerfile --push -t quay.io/che-incubator/jetbrains-ide-dev-server:next .
docker build -f build/dockerfiles/Dockerfile --push -t quay.io/che-incubator/che-idea-dev-server:next .
elif [[ ${{ env.BRANCH_NAME }} =~ ^7\.[0-9]+\.[0-9]+$ ]]; then
docker build -f build/dockerfiles/Dockerfile --push -t quay.io/che-incubator/jetbrains-ide-dev-server:${{ env.BRANCH_NAME }} -t quay.io/che-incubator/jetbrains-ide-dev-server:latest .
docker build -f build/dockerfiles/Dockerfile --push -t quay.io/che-incubator/che-idea-dev-server:${{ env.BRANCH_NAME }} -t quay.io/che-incubator/che-idea-dev-server:latest .
fi

0 comments on commit 8a63648

Please sign in to comment.