Skip to content

feat: add GitHub Actions workflow for Testservice docker publishing #4

feat: add GitHub Actions workflow for Testservice docker publishing

feat: add GitHub Actions workflow for Testservice docker publishing #4

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