diff --git a/.github/workflows/build-latest.yml b/.github/workflows/build-latest.yml index f55cc04..ce7fa25 100644 --- a/.github/workflows/build-latest.yml +++ b/.github/workflows/build-latest.yml @@ -23,15 +23,19 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox + pip install -r requirements.txt - - name: Build image - env: - DOCKER_BUILDKIT: 1 + - name: Quay login run: | - tox -e docker -- --tag=quay.io/ansible/awx-ee:latest + echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin - - name: Push images + - name: Build and push image run: | - echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin - docker push quay.io/ansible/awx-ee:latest + docker buildx create --name awx-ee-buildx + docker buildx use awx-ee-buildx + ansible-builder create -v3 --output-file=Dockerfile + docker buildx build \ + --push \ + --platform=linux/amd64,linux/arm64 \ + --tag=${{ vars.IMAGE_REGISTRY }}/awx-ee:latest \ + context diff --git a/execution-environment.yml b/execution-environment.yml index 823b2ee..97dc953 100644 --- a/execution-environment.yml +++ b/execution-environment.yml @@ -39,6 +39,11 @@ dependencies: python-unversioned-command [platform:rpm] unzip [platform:rpm] podman-remote [platform:rpm] + cmake [platform:rpm compile] + gcc [platform:rpm compile] + gcc-c++ [platform:rpm compile] + make [platform:rpm compile] + openssl-devel [platform:rpm compile] python: | git+https://github.com/ansible/ansible-sign ncclient