Skip to content

Merge pull request #1421 from keboola/jirka-ct-1854-test-alias #559

Merge pull request #1421 from keboola/jirka-ct-1854-test-alias

Merge pull request #1421 from keboola/jirka-ct-1854-test-alias #559

Workflow file for this run

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