| name: Build Certification Image |
| on: |
| workflow_call: |
| workflow_dispatch: |
| jobs: |
| build-cert-bin: |
| runs-on: ubuntu-latest |
| steps: |
| - uses: actions/checkout@master |
| - name: Set up Docker Buildx |
| uses: docker/setup-buildx-action@v2 |
| - name: Publish to Registry |
| uses: elgohr/Publish-Docker-Github-Action@v5 |
| with: |
| name: ghcr.io/project-chip/chip-cert-bins |
| tags: latest |
| dockerfile: ./integrations/docker/images/chip-cert-bins/Dockerfile |
| username: ${{ github.actor }} |
| password: ${{ secrets.GITHUB_TOKEN }} |
| registry: ghcr.io |
| platforms: linux/amd64,linux/arm64,linux/arm |