Implement PyPI version json API & added two packages for dependency s… #39
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: Publish pulp-fixture OCI Image | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- name: Install requirements | |
run: | | |
pip install --upgrade pip pylint setuptools | |
sudo apt-get install -y shellcheck | |
- name: Build & test the image | |
run: | | |
.ci/build_image.sh | |
- name: Display log on error | |
if: failure() | |
run: docker logs pulp-fixtures | |
- name: Push image to registries | |
env: | |
DOCKER_BOT_PASSWORD: ${{ secrets.DOCKER_BOT_PASSWORD }} | |
DOCKER_BOT_USERNAME: "pulpbot" | |
QUAY_BOT_PASSWORD: ${{ secrets.QUAY_BOT_PASSWORD }} | |
QUAY_BOT_USERNAME: "pulp+github" | |
run: | | |
.ci/docker-push.sh | |
.ci/quay-push.sh |