Merge pull request #1773 from hackforla/1765-styling-searchCriteria #144
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: | |
fullstack: | |
runs-on: ubuntu-latest | |
name: Build and push Full-Stack Container to Docker Hub | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: build-and-push-image | |
uses: docker/build-push-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
repository: foodoasisla/foodoasisla | |
dockerfile: ./Dockerfile | |
tag_with_ref: true | |
tag_with_sha: true | |
add_git_labels: true | |
labels: description="Food Oasis",maintained="[email protected]" |