Skip to content

Commit

Permalink
Update Dockerfile.ci to use buildarg for registry name
Browse files Browse the repository at this point in the history
  • Loading branch information
bennerv committed Sep 18, 2023
1 parent 8ffcf69 commit eae3e47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
tags: ${{ github.sha }}
context: .
containerfiles: ./Dockerfile.ci
build-args: REGISTRY=registry.access.redhat.com

vendor-check:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM registry.access.redhat.com/ubi8/go-toolset:1.18.10
ARG REGISTRY
FROM ${REGISTRY}/ubi8/go-toolset:1.18.10

USER root
RUN mkdir -p /root/go/src/github.com/Azure/ARO-RP
Expand Down

0 comments on commit eae3e47

Please sign in to comment.