Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Merge pull request #1231 from square/smccreary/sunset #534

Merge pull request #1231 from square/smccreary/sunset

Merge pull request #1231 from square/smccreary/sunset #534

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Set up MySQL
uses: samin/[email protected]
with:
mysql database: 'keywhizdb_docker'
mysql version: '8.0'
- name: Build Docker image
run: |
# Build Docker container
docker build --network=host -t squareup/keywhiz .
# Make sure Docker image runs
docker run --network=host --rm squareup/keywhiz --version