Skip to content

Commit

Permalink
Build container image for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran committed Dec 17, 2021
1 parent adfd7a6 commit 2fa856c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -37,9 +37,45 @@ jobs:
run: tox


images:
name: Build Image - ${{ matrix.runtime }}
runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
runtime:
- docker
- podman

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build Container Image
run: ${{ matrix.runtime }} build --rm=true -t images:
name: Build Image - ${{ matrix.runtime }}
runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
runtime:
- docker
- podman

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build Container Image
run: ${{ matrix.runtime }} build --rm=true -t quay.io/ansible/ansible-runner:devel -t quay.io/ansible/ansible-runner:latest .


integration:
runs-on: ubuntu-20.04
name: Integration - ${{ matrix.py_version.name }}
needs: images

env:
TOXENV: ${{ matrix.py_version.tox_env }}
Expand Down

0 comments on commit 2fa856c

Please sign in to comment.