Skip to content

chore(release): version 2.102.2.0 #7

chore(release): version 2.102.2.0

chore(release): version 2.102.2.0 #7

Workflow file for this run

name: Test
on: [push, pull_request]
env:
DOCKER_TARGET_PLATFORM: "linux/amd64"
jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.6
- run: "bundle install"
- run: "bundle exec rake"
- name: Login to Docker Hub
run: script/release-workflow/docker-login.sh
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build Docker image
run: docker buildx build --platform=${DOCKER_TARGET_PLATFORM} -t pactfoundation/pact-broker:latest .
- name: Integration tests
run: script/test.sh