diff --git a/.github/workflows/image-build.yaml b/.github/workflows/image-build.yaml index d300beb..6d755d2 100644 --- a/.github/workflows/image-build.yaml +++ b/.github/workflows/image-build.yaml @@ -1,3 +1,12 @@ +# +# Copyright (c) 2023 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# + name: image-publish on: @@ -6,17 +15,13 @@ on: - 'main' jobs: - docker: + build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 # with: # token: ${{ secrets.CHE_INCUBATOR_BOT_TOKEN }} - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - name: Login to quay.io uses: docker/login-action@v2 with: diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml new file mode 100644 index 0000000..4814c6f --- /dev/null +++ b/.github/workflows/pr-check.yaml @@ -0,0 +1,25 @@ +# +# Copyright (c) 2023 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# + +name: pr-check + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Build image + uses: docker/build-push-action@v4 + with: + context: . + file: build/dockerfiles/Dockerfile + tags: quay.io/che-incubator/che-idea-dev-server:next