This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
Detect changes to report results #76
Workflow file for this run
This file contains 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: PR Update | |
on: pull_request | |
jobs: | |
build-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build, test and publish test image | |
uses: docker/build-push-action@v3 | |
with: | |
context: ./ | |
file: ./build/Dockerfile | |
builder: ${{ steps.buildx.outputs.name }} | |
push: true | |
tags: aamdigital/query-ms:pr-${{ github.event.number }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
build-args: | | |
RUN_TESTS=${{ true }} |