getdeps: emit DEVELOPER_DIR for macOS CI builds; regenerate rebalance… #241
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: Docker Build Interop Client AMD64 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - 'v*' | |
| workflow_dispatch: | |
| env: | |
| REGISTRY: ghcr.io | |
| IMAGE_NAME: ${{ github.repository_owner }}/moxygen-interop-client | |
| jobs: | |
| build-amd64: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Log in to registry | |
| if: github.event_name != 'pull_request' | |
| run: | | |
| echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
| - name: Build amd64 image | |
| run: | | |
| docker build --progress=plain . -f docker/Dockerfile.interop-client \ | |
| -t ghcr.io/${{ env.IMAGE_NAME }}:latest-amd64 \ | |
| -t ghcr.io/${{ env.IMAGE_NAME }}:${{ github.sha }}-amd64 | |
| - name: Push amd64 image | |
| if: github.event_name != 'pull_request' | |
| run: | | |
| docker push ghcr.io/${{ env.IMAGE_NAME }}:latest-amd64 | |
| docker push ghcr.io/${{ env.IMAGE_NAME }}:${{ github.sha }}-amd64 |