Skip to content

Commit

Permalink
fix CI: setup docker-buildx (#353)
Browse files Browse the repository at this point in the history
* fix CI: setup docker-buildx

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

* setup buildx only for main repo and build/release events

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>

---------

Signed-off-by: sbadiger <shreyas_badiger@intuit.com>
  • Loading branch information
shreyas-badiger authored Jul 12, 2023
1 parent 6378f7b commit 952b2df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ jobs:
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)

- name: Set up Docker Buildx
if: (github.event_name == 'push' || github.event_name == 'release') && github.repository == 'keikoproj/upgrade-manager'
id: buildx
uses: docker/setup-buildx-action@v2
with:
install: true

- name: Docker build
if: github.event_name == 'pull_request' || (github.repository != 'keikoproj/upgrade-manager' && github.event_name == 'push')
run: make docker-build
Expand Down

0 comments on commit 952b2df

Please sign in to comment.