Skip to content

Commit

Permalink
fix repo url
Browse files Browse the repository at this point in the history
  • Loading branch information
aboguszewski-sumo committed Feb 7, 2024
1 parent 29d197c commit 111aeb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
BUILD_TAG=${{ steps.extract_tag.outputs.tag }} \
PLATFORM=${{ matrix.arch_os }}
- name: Build and push image to Open Source ECR
- name: Build and push UBI-based image to Open Source ECR
run: |
cp otelcol-sumo-${{ matrix.arch_os }} otelcol-sumo
make build-push-container-ubi-dev \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile_ubi
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
ARG BUILD_TAG
ARG REPO_URL=sumologic-otel-collector

## Use original image to copy files from
FROM public.ecr.aws/sumologic/sumologic-otel-collector:${BUILD_TAG} as builder
FROM ${REPO_URL}:${BUILD_TAG} as builder

## Build RedHat compliant image
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9
Expand Down
1 change: 1 addition & 0 deletions ci/build-push-multiplatform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function build_push() {
--push \
--file "${DOCKERFILE}" \
--build-arg BUILD_TAG="${BUILD_TAG}" \
--build-arg REPO_URL="${REPO_URL}" \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--platform="${PLATFORM}" \
--tag "${LATEST_TAG}" \
Expand Down

0 comments on commit 111aeb3

Please sign in to comment.