Skip to content

Commit 1dfae23

Browse files
committed
push all images with buildx
1 parent cb92587 commit 1dfae23

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/docker-build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ jobs:
5959
- name: Setup Docker buildx
6060
uses: docker/setup-buildx-action@v2
6161

62+
- name: Log into registry
63+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
64+
6265
- name: Build images
6366
run: |
6467
make docker-build
6568
make bundle-build
6669
67-
- name: Log into registry
68-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
69-
70-
- name: Push image ghcr.io
71-
run: |
72-
make docker-push
73-
make bundle-push
70+
# - name: Push image ghcr.io
71+
# run: |
72+
# make docker-push
73+
# make bundle-push

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ run: helm-operator ## Run against the configured Kubernetes cluster in ~/.kube/c
7777

7878
.PHONY: docker-build
7979
docker-build: ## Build docker image with the manager.
80-
docker buildx build --platform linux/amd64,linux/arm64 -t ${IMG} .
80+
docker buildx build --platform linux/amd64,linux/arm64 -t ${IMG} . --push
8181

8282
.PHONY: docker-push
8383
docker-push: ## Push docker image with the manager.
@@ -146,7 +146,7 @@ bundle: kustomize ## Generate bundle manifests and metadata, then validate gener
146146

147147
.PHONY: bundle-build
148148
bundle-build: ## Build the bundle image.
149-
docker buildx build --platform linux/amd64,linux/arm64 -f bundle.Dockerfile -t $(BUNDLE_IMG) .
149+
docker buildx build --platform linux/amd64,linux/arm64 -f bundle.Dockerfile -t $(BUNDLE_IMG) . --push
150150

151151
.PHONY: bundle-push
152152
bundle-push: ## Push the bundle image.

0 commit comments

Comments
 (0)