feat: add GitHub Actions workflow for Testservice docker publishing #4
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 and publish image of Testservice to quay.io | |
| on: | |
| # ToDo: This trigger should be removed before merging, it's just to test the Workflow | |
| pull_request: | |
| branches: ["develop"] | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| quay_publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to Quay | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: quay.io | |
| username: wire+kalium_github_actions | |
| password: ${{ secrets.QUAY_PASSWORD }} | |
| - name: Build and push | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: ./tools/testservice/Dockerfile | |
| platforms: linux/amd64 | |
| tags: quay.io/wire/testservice:latest | |
| push: true |