Merge pull request #1800 from hackforla/1791-update-styling #156
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
# build and push a docker image from the latest push to "develop" branch | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
release: | |
types: | |
- published | |
jobs: | |
webapi: | |
runs-on: ubuntu-latest | |
name: Build and push Web API Container to Docker Hub | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: build-and-push-image | |
uses: docker/build-push-action@v1 | |
with: | |
dockerfile: ./Dockerfile-jared | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
repository: foodoasisla/foodoasisla | |
tag_with_ref: true | |
tag_with_sha: true | |
add_git_labels: true | |
labels: description="Food Oasis",maintained="foodoasis+hub@hackforla.org" | |