Merge pull request #1424 from keboola/vb-FIX-owner-sox-test #562
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: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Build docker image | |
env: | |
DRIVER_DOWNLOADS_ACCESS_KEY_ID: ${{ secrets.DRIVER_DOWNLOADS_ACCESS_KEY_ID }} | |
DRIVER_DOWNLOADS_SECRET_ACCESS_KEY: ${{ secrets.DRIVER_DOWNLOADS_SECRET_ACCESS_KEY }} | |
run: | | |
docker compose build tests | |
docker network create connection_api-tests | |
docker compose run --rm tests php -v | |
docker compose run --rm tests 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/storage-api-tests quay.io/keboola/storage-api-tests:latest | |
docker push quay.io/keboola/storage-api-tests:latest |