Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Ilario <filario@redhat.com>
  • Loading branch information
filariow committed Apr 15, 2024
1 parent 45ee7b2 commit bafd842
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build container images
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]

env:
Expand All @@ -21,14 +21,14 @@ jobs:
matrix:
include:
- directory: server
image_base: quay.io/filario/workspaces-server
image_base: quay.io/konflux-workspaces/workspaces-server
- directory: operator
image_base: quay.io/filario/workspaces-operator
image_base: quay.io/konflux-workspaces/workspaces-operator

steps:
- name: Checkout Git Repository
uses: actions/checkout@v4
if: ${{ github.event_name == 'pull_request' }}
if: ${{ github.event_name == 'pull_request_target' }}
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Build image
id: tag
run: |
if [[ "${GITHUB_EVENT_NAME}" = "pull_request" ]]; then
if [[ "${GITHUB_EVENT_NAME}" = "pull_request_target" ]]; then
export IMG="${{ matrix.image_base }}:pr-${{ github.event.pull_request.number }}-${GITHUB_SHA:0:8}"
else
export IMG="${{ matrix.image_base }}:${GITHUB_SHA:0:8}"
Expand Down
2 changes: 1 addition & 1 deletion hack/toolchain_build_push_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BRANCH=${BRANCH:-pubviewer-mvp}
BUILDER=${BUILDER:-docker}
TAG=${1:-e2etest}

export QUAY_NAMESPACE=${QUAY_NAMESPACE:-filario}
export QUAY_NAMESPACE=${QUAY_NAMESPACE:-konflux-workspaces}

# create a temporary direction
f=$(mktemp --directory /tmp/toolchain.XXXX)
Expand Down
2 changes: 1 addition & 1 deletion hack/toolchain_build_push_member.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BRANCH=${BRANCH:-pubviewer-mvp}
BUILDER=${BUILDER:-docker}
TAG=${1:-e2etest}

export QUAY_NAMESPACE=${QUAY_NAMESPACE:-filario}
export QUAY_NAMESPACE=${QUAY_NAMESPACE:-konflux-workspaces}

# create a temporary direction
f=$(mktemp --directory /tmp/toolchain.XXXX)
Expand Down
2 changes: 1 addition & 1 deletion hack/workspaces_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

export QUAY_NAMESPACE=${QUAY_NAMESPACE:-filario}
export QUAY_NAMESPACE=${QUAY_NAMESPACE:-konflux-workspaces}

f=$(mktemp --directory /tmp/workspaces-demo.XXXX)

Expand Down

0 comments on commit bafd842

Please sign in to comment.