fix(ocm): Fix IDP value in federated user ids #3998
Workflow file for this run
This file contains 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
name: Build Docker | |
on: | |
push: | |
branches: | |
- "edge" | |
tags: | |
- "*" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: self-hosted | |
strategy: | |
matrix: | |
include: | |
- tag: reva:${{ ((github.ref_type == 'tag') && github.ref_name) || 'edge' }} | |
file: Dockerfile.reva | |
- tag: revad:${{ ((github.ref_type == 'tag') && github.ref_name) || 'edge' }} | |
file: Dockerfile.revad | |
- tag: revad:${{ ((github.ref_type == 'tag') && github.ref_name) || 'edge' }}-eos | |
file: Dockerfile.revad-eos | |
- tag: revad:${{ ((github.ref_type == 'tag') && github.ref_name) || 'edge' }}-ceph | |
file: Dockerfile.revad-ceph | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
if: ${{ github.event_name != 'pull_request' }} | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build ${{ ((github.event_name != 'pull_request') && 'and push') || '' }} ${{ matrix.tag }} | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: ${{ github.event_name != 'pull_request' }} | |
file: ${{ matrix.file }} | |
tags: ${{ ((github.event_name != 'pull_request') && format('{0}/{1}', vars.DOCKERHUB_ORGANIZATION, matrix.tag)) || '' }} |