Merge pull request #444 from cdolfi/contrb_pr_assignment #106
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: Build and Push Image | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
name: Build and push image to Quay | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: login to quay | |
run: docker login quay.io -p ${{ secrets.REGISTRY_PASSWORD }} -u jkunstle | |
- name: build docker image | |
run: docker build -t explorer . | |
- name: commit docker image | |
run: docker tag explorer quay.io/jkunstle/explorer | |
- name: push committed docker image to quay.io | |
run: docker push quay.io/jkunstle/explorer:latest |