Switching to OKD hosted runners that have Nexus credentials already

This commit is contained in:
James Jones
2025-01-25 19:06:33 -05:00
parent 197b792b95
commit 62a7fba106

View File

@@ -95,7 +95,7 @@ jobs:
else
VERSION=$(echo "${GITHUB_REF_NAME}" | sed 's|/|-|g')
fi
podman build . --userns=keep-id --file Dockerfile \
podman build . --privileged --file Dockerfile \
--tag "${{ matrix.registry }}/$IMAGE_NAME:$VERSION" --build-arg ARTIFACTORY=${{ matrix.registry_proxy }}
if [[ "$GITHUB_REF" =~ ^refs/pull.* ]]; then
echo "Pull requests do not get published. Only for testing"