Add not found page (#451) #398
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
| name: Build images | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| OCI_CLI_FINGERPRINT: ${{ secrets.OCI_CLI_FINGERPRINT }} | |
| OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }} | |
| OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }} | |
| OCI_CLI_TENANCY: ${{ secrets.OCI_CLI_TENANCY }} | |
| OCI_CLI_USER: ${{ secrets.OCI_CLI_USER }} | |
| jobs: | |
| build-ocg-dbmigrator-image: | |
| if: github.ref == 'refs/heads/main' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Login to OCI Registry | |
| id: login-ocir | |
| uses: oracle-actions/login-ocir@v1.3.0 | |
| with: | |
| auth_token: ${{ secrets.OCI_AUTH_TOKEN }} | |
| - name: Get ocg-dbmigrator OCIR repository | |
| id: get-ocir-repository-dbmigrator | |
| uses: oracle-actions/get-ocir-repository@v1.3.0 | |
| with: | |
| name: ocg/dbmigrator | |
| compartment: ${{ secrets.OCI_COMPARTMENT_OCID }} | |
| - name: Build and push ocg-dbmigrator image | |
| env: | |
| OCIR_REPOSITORY: ${{ steps.get-ocir-repository-dbmigrator.outputs.repo_path }} | |
| run: | | |
| docker build \ | |
| -f database/migrations/Dockerfile \ | |
| -t $OCIR_REPOSITORY:$GITHUB_SHA \ | |
| . | |
| docker push $OCIR_REPOSITORY:$GITHUB_SHA | |
| build-ocg-redirector-image: | |
| if: github.ref == 'refs/heads/main' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Login to OCI Registry | |
| id: login-ocir | |
| uses: oracle-actions/login-ocir@v1.3.0 | |
| with: | |
| auth_token: ${{ secrets.OCI_AUTH_TOKEN }} | |
| - name: Get ocg-redirector OCIR repository | |
| id: get-ocir-repository-redirector | |
| uses: oracle-actions/get-ocir-repository@v1.3.0 | |
| with: | |
| name: ocg/redirector | |
| compartment: ${{ secrets.OCI_COMPARTMENT_OCID }} | |
| - name: Build and push ocg-redirector image | |
| env: | |
| OCIR_REPOSITORY: ${{ steps.get-ocir-repository-redirector.outputs.repo_path }} | |
| run: | | |
| docker build \ | |
| -f ocg-redirector/Dockerfile \ | |
| -t $OCIR_REPOSITORY:$GITHUB_SHA \ | |
| . | |
| docker push $OCIR_REPOSITORY:$GITHUB_SHA | |
| build-ocg-server-image: | |
| if: github.ref == 'refs/heads/main' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Login to OCI Registry | |
| id: login-ocir | |
| uses: oracle-actions/login-ocir@v1.3.0 | |
| with: | |
| auth_token: ${{ secrets.OCI_AUTH_TOKEN }} | |
| - name: Get ocg-server OCIR repository | |
| id: get-ocir-repository-server | |
| uses: oracle-actions/get-ocir-repository@v1.3.0 | |
| with: | |
| name: ocg/server | |
| compartment: ${{ secrets.OCI_COMPARTMENT_OCID }} | |
| - name: Build and push ocg-server image | |
| env: | |
| OCIR_REPOSITORY: ${{ steps.get-ocir-repository-server.outputs.repo_path }} | |
| run: | | |
| docker build \ | |
| -f ocg-server/Dockerfile \ | |
| -t $OCIR_REPOSITORY:$GITHUB_SHA \ | |
| . | |
| docker push $OCIR_REPOSITORY:$GITHUB_SHA |