Switching to OKD hosted runners that have Nexus credentials already
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -95,7 +95,7 @@ jobs:
|
|||||||
else
|
else
|
||||||
VERSION=$(echo "${GITHUB_REF_NAME}" | sed 's|/|-|g')
|
VERSION=$(echo "${GITHUB_REF_NAME}" | sed 's|/|-|g')
|
||||||
fi
|
fi
|
||||||
podman build . --privileged --file Dockerfile \
|
podman build . --userns-gid-map-group=1001 --userns-uid-map-user=1001 --file Dockerfile \
|
||||||
--tag "${{ matrix.registry }}/$IMAGE_NAME:$VERSION" --build-arg ARTIFACTORY=${{ matrix.registry_proxy }}
|
--tag "${{ matrix.registry }}/$IMAGE_NAME:$VERSION" --build-arg ARTIFACTORY=${{ matrix.registry_proxy }}
|
||||||
if [[ "$GITHUB_REF" =~ ^refs/pull.* ]]; then
|
if [[ "$GITHUB_REF" =~ ^refs/pull.* ]]; then
|
||||||
echo "Pull requests do not get published. Only for testing"
|
echo "Pull requests do not get published. Only for testing"
|
||||||
|
|||||||
Reference in New Issue
Block a user