This repository has been archived by the owner on Oct 5, 2024. It is now read-only.
Test fix on GitHub action #7
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
# # The docker image will be built only on a push to the feature branch | |
# name: Deps Dockerfile Build and Push | |
# on: | |
# push: | |
# branches: [ update/docker-ci ] | |
# # A workflow run is made up of one or more jobs that can run | |
# # sequentially or in parallel | |
# jobs: | |
# build: | |
# # The type of runner that the job will run on | |
# runs-on: ubuntu:kinetic | |
# # Steps represent a sequence of tasks that will be executed | |
# # as part of the job | |
# steps: | |
# # Checks-out your repository under $GITHUB_WORKSPACE, so your | |
# # job can access it | |
# - uses: actions/checkout@v2 | |
# - name: Login to Quay.io | |
# uses: docker/login-action@v1 | |
# with: | |
# registry: quay.io | |
# username: ${{ secrets.QUAY_USERNAME }} | |
# password: ${{ secrets.QUAY_ROBOT_TOKEN }} | |
# - name: Pull remote image | |
# run: docker pull quay.io/hotosm/underpass:kinetic | |
# - name: Build and tag Dockerfile | |
# run: cd docker && docker build -t quay.io/hotosm/underpass:kinetic -f underpass.dockerfile . | |
# # If there are changes to the dockerfile, then a new image will | |
# # be pushed. Otherwise nothing will happen. | |
# - name: Push to Quay.io | |
# run: docker push quay.io/hotosm/underpass:kinetic | |