Skip to content

Implement PyPI version json API & added two packages for dependency s… #39

Implement PyPI version json API & added two packages for dependency s…

Implement PyPI version json API & added two packages for dependency s… #39

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