Merge pull request #241 from keboola/KAB-27-allow-creating-storage-to… #79
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 on master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
docker-compose build release | |
docker network create connection_api-tests | |
docker-compose run --rm release php -v | |
docker-compose run --rm release composer ci | |
- name: List images | |
run: docker images | |
- name: Login to quay.io | |
uses: docker/login-action@v1 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAY_USERNAME }} | |
password: ${{ secrets.QUAY_ROBOT_TOKEN }} | |
- name: Tag and push to quay.io | |
run: | | |
docker tag keboola/manage-api-tests:latest quay.io/keboola/manage-api-tests:latest | |
docker push quay.io/keboola/manage-api-tests:latest |