Skip to content

Commit

Permalink
Fix REGISTRY_NAMESPACE param
Browse files Browse the repository at this point in the history
The CI has been updated to install packages from the specified
REGISTRY_NAMESPACE.
  • Loading branch information
edewata committed Feb 20, 2024
1 parent 3792e34 commit 0c83d84
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: [push, pull_request]
env:
BASE_IMAGE: ${{ vars.BASE_IMAGE || 'registry.fedoraproject.org/fedora:latest' }}
COPR_REPO: ${{ vars.COPR_REPO || '@pki/master' }}
NAMESPACE: ${{ vars.REGISTRY_NAMESPACE || github.repository_owner }}

jobs:
build:
Expand All @@ -14,6 +15,11 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Update Dockerfile
run: |
# update registry namespace
sed -i "s/quay.io\/dogtagpki\//quay.io\/$NAMESPACE\//g" Dockerfile
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down

0 comments on commit 0c83d84

Please sign in to comment.