Skip to content

Use testSuiteName as key for metrics (#5) #8

Use testSuiteName as key for metrics (#5)

Use testSuiteName as key for metrics (#5) #8

Workflow file for this run

name: build
on:
push:
branches:
- "main"
jobs:
image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'microsoft'
- name: Build with Maven
run: mvn clean install
- name: Copy files
run: make copy_files
- name: Build and push
uses: docker/build-push-action@v3
with:
context: ./docker-image
file: ./docker-image/Dockerfile
push: true
tags: quay.io/tealc/metrics-collector:latest