fix: bump 26.1.4 with normalize p256 (#1513)
#266
Workflow file for this run
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
| # Publishes the Docker image. | |
| name: docker | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| tags: | |
| - v* | |
| jobs: | |
| build: | |
| name: build and push | |
| strategy: | |
| matrix: | |
| include: | |
| - dockerfile: Dockerfile | |
| ghcr_repo: ghcr.io/ithacaxyz/relay | |
| - dockerfile: Dockerfile.stress | |
| ghcr_repo: ghcr.io/ithacaxyz/relay-stress | |
| - dockerfile: Dockerfile.chainwalker | |
| ghcr_repo: ghcr.io/ithacaxyz/relay-chainwalker | |
| dockerfile: [Dockerfile, Dockerfile.stress, Dockerfile.chainwalker] | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| packages: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Docker CLI | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push tagged | |
| uses: docker/build-push-action@v6 | |
| if: github.event_name != 'workflow_dispatch' | |
| with: | |
| context: . | |
| file: ${{ matrix.dockerfile }} | |
| platforms: linux/amd64 | |
| push: true | |
| tags: | | |
| ${{ matrix.ghcr_repo }}:latest | |
| ${{ matrix.ghcr_repo }}:${{ github.ref_name }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Get short commit | |
| if: github.event_name == 'workflow_dispatch' | |
| id: vars | |
| run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
| - name: Build and push dispatched | |
| uses: docker/build-push-action@v6 | |
| if: github.event_name == 'workflow_dispatch' | |
| with: | |
| context: . | |
| file: ${{ matrix.dockerfile }} | |
| platforms: linux/amd64 | |
| push: true | |
| tags: | | |
| ${{ matrix.ghcr_repo }}:${{ steps.vars.outputs.sha_short }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Notify Porto Repository | |
| env: | |
| IMAGE_TAG: ${{ matrix.ghcr_repo }}:${{ github.ref_name }} | |
| run: | | |
| curl --request POST \ | |
| --url https://api.github.com/repos/ithacaxyz/porto/dispatches \ | |
| --header 'Authorization: token ${{ secrets.PORTO_ACCESS_TOKEN }}' \ | |
| --header 'Accept: application/vnd.github+json' \ | |
| --header 'X-GitHub-Api-Version: 2022-11-28' \ | |
| --data '{"event_type":"relay-release", "client_payload":{"image":"${{ env.IMAGE_TAG }}"}}' |