Skip to content

Container Release Pipeline #151

Container Release Pipeline

Container Release Pipeline #151

Workflow file for this run

# WARNING: DO NOT EDIT!
#
# This file was generated by plugin_template, and is managed by it. Please use
# './plugin-template --github pulp_container' to update this file.
#
# For more info visit https://github.com/pulp/plugin_template
---
name: Container Release Pipeline
on:
workflow_dispatch:
defaults:
run:
working-directory: "pulp_container"
jobs:
build-artifacts:
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
steps:
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
path: "pulp_container"
token: ${{ secrets.RELEASE_TOKEN }}
- uses: "actions/setup-python@v4"
with:
python-version: "3.11"
- name: "Install python dependencies"
run: |
echo ::group::PYDEPS
pip install bump2version towncrier
echo ::endgroup::
- name: "Configure Git with pulpbot name and email"
run: |
git config --global user.name 'pulpbot'
git config --global user.email '[email protected]'
- name: "Setting secrets"
run: |
python3 .github/workflows/scripts/secrets.py "$SECRETS_CONTEXT"
env:
SECRETS_CONTEXT: "${{ toJson(secrets) }}"
- name: "Tag the release"
run: |
.github/workflows/scripts/release.sh
shell: "bash"
env:
PY_COLORS: "1"
ANSIBLE_FORCE_COLOR: "1"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_CONTEXT: "${{ github.event.pull_request.commits_url }}"