Build kite-proxy container for rhel-edge ci #14
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: Build kite-proxy container for rhel-edge ci | |
on: | |
workflow_dispatch: | |
jobs: | |
build-kite-proxy-rhel-edge-container: | |
runs-on: container-runner | |
container: | |
image: quay.io/fedora/fedora:38-x86_64 | |
options: --privileged | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: rhel-edge | |
- name: Install podman | |
run: sudo dnf install -y podman | |
- name: Build kite-proxy image and upload to quay.io | |
run: | | |
podman build -t "kite-proxy:rhel-edge" -f proxy/Dockerfile proxy | |
podman push --creds "${QUAY_USER}":"${QUAY_PASS}" "kite-proxy:rhel-edge" "quay.io/rhel-edge/kite-proxy:rhel-edge" | |
env: | |
QUAY_USER: ${{ secrets.QUAY_USERNAME }} | |
QUAY_PASS: ${{ secrets.QUAY_PASSWORD }} |