This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
deprecated: add notice #533
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: 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 |