Skip to content

Commit

Permalink
add buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
brtduvally committed Aug 7, 2024
1 parent d62821b commit 4918d39
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/prod-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
touch secrets/vo-ranch.yaml ; echo "$VO_RANCH_KUBECONF" > secrets/prod-voranch.yaml
touch secrets/vo-ranch.yaml ; echo "$VO_UTIL_KUBECONF" > secrets/prod-voutil.yaml
touch secrets/robot.prod ; echo "$VO_HARBOR_ROBOT" > secrets/robot.prod
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true
-
name: Build PROD image
run: make build
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/qa-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:
touch secrets/vo-ranch.yaml ; echo "$VO_RANCH_KUBECONF" > secrets/prod-voranch.yaml
touch secrets/vo-ranch.yaml ; echo "$VO_UTIL_KUBECONF" > secrets/prod-voutil.yaml
touch secrets/robot.qa ; echo "$QVO_HARBOR_ROBOT" > secrets/robot.qa
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true
-
name: Build QA image
run: make build
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ local-dev:
## DOCKER BUILD ##
#build: @ Build the docker image, one for all envs
build:
docker build -t harbor.services.brown.edu/bkereporting/reporter:$(HASH) \
docker build --load -t harbor.services.brown.edu/bkereporting/reporter:$(HASH) \
-t harbor.cis-qas.brown.edu/bkereporting/reporter:$(HASH) ./

## DOCKER LOGIN ##
Expand Down

0 comments on commit 4918d39

Please sign in to comment.