Bump express from 4.18.3 to 4.19.2 (#323) #1047
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: Docker | |
on: [push, pull_request] | |
jobs: | |
# Run tests. | |
# See also https://docs.docker.com/docker-hub/builds/automated-testing/ | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run tests | |
run: | | |
if [ -f docker/docker-compose.test.yml ]; then | |
docker-compose --file docker/docker-compose.test.yml build | |
docker-compose --file docker/docker-compose.test.yml run sut | |
else | |
docker build --file docker/Dockerfile . | |
fi | |
# Push image to GitHub Packages. | |
push: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build and push Docker images | |
uses: docker/[email protected] | |
with: | |
repository: atgardner/osmexport/osmexport | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
registry: docker.pkg.github.com | |
dockerfile: docker/Dockerfile | |
tag_with_ref: true | |
tag_with_sha: true | |
add_git_labels: true |