fix(auth): resolve user UID via SelfSubjectReview for external authen… #29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Copyright (c) 2019-2025 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 | |
| # | |
| # Contributors: | |
| # Red Hat, Inc. - initial API and implementation | |
| # | |
| name: Next container build | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build-next-images: | |
| runs-on: ubuntu-24.04 | |
| outputs: | |
| git-sha: ${{ steps.git-sha.outputs.sha }} | |
| steps: | |
| - name: Checkout web-terminal-exec source code | |
| uses: actions/checkout@v4 | |
| - name: Set output for Git short SHA | |
| id: git-sha | |
| run: echo "::set-output name=sha::$(git rev-parse --short HEAD)" | |
| - name: Login to quay.io | |
| uses: docker/login-action@v1 | |
| with: | |
| username: ${{ secrets.QUAY_USERNAME }} | |
| password: ${{ secrets.QUAY_PASSWORD }} | |
| registry: quay.io | |
| - name: Build and push | |
| uses: docker/build-push-action@v2 | |
| with: | |
| context: . | |
| push: true | |
| tags: | | |
| quay.io/wto/web-terminal-exec:next | |
| quay.io/wto/web-terminal-exec:sha-${{ steps.git-sha.outputs.sha }} | |
| file: ./build/Dockerfile |