Remove EXTERNALLY-MANAGED file in python lib for installation of modules via pip #33
Workflow file for this run
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: docker-ansible-pr-build | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
max-parallel: 10 | |
matrix: | |
TAG_NAME: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, rockylinux-8, centos-7, debian-bullseye, debian-buster] | |
steps: | |
- uses: actions/checkout@v4 | |
# - name: Install Grype for Vulnerability Scanning of Docker images. | |
# run: | | |
# curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sudo sh -s -- -b /usr/local/bin | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build docker image tag ${{ matrix.TAG_NAME }} | |
uses: docker/build-push-action@v5 | |
with: | |
file: ${{matrix.TAG_NAME}}/Dockerfile | |
pull: true | |
push: false | |
tags: darkwizard242/ansible:${{ matrix.TAG_NAME }} | |
# - name: Run Grype for Vulnerability Scanning of image | |
# run: | | |
# sudo grype docker:docker:darkwizard242/ansible:${{ matrix.TAG_NAME }} | |
- name: Archive and upload Dockerfile | |
uses: actions/upload-artifact@master | |
with: | |
name: ${{ matrix.TAG_NAME }}_image_artifacts | |
path: ${{ matrix.TAG_NAME }}/ |