Skip to content

Commit

Permalink
chore: utils image is no longer built on merge (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh authored Jul 29, 2024
1 parent 8714afe commit 80df54c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/release-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push utils image (production)
run: |
export REGISTRY=docker.io
export USERNAME=${{ secrets.DOCKERHUB_USER }}
export PASSWORD=${{ secrets.DOCKERHUB_PASSWORD }}
make apko
make build-and-push-utils-image VERSION=${{ needs.get-tag.outputs.tag-name }}
- name: Build and push utils image (staging)
run: |
export EMBEDDED_OPERATOR_UTILS_IMAGE=replicated/embedded-cluster-utils-staging
export REGISTRY=docker.io
export USERNAME=${{ secrets.DOCKERHUB_USER }}
export PASSWORD=${{ secrets.DOCKERHUB_PASSWORD }}
make apko
make build-and-push-utils-image VERSION=${{ needs.get-tag.outputs.tag-name }}
- name: Build linux-amd64
run: |
make embedded-cluster-linux-amd64 \
Expand Down
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,18 +192,6 @@ scan:
--ignore-unfixed \
./

.PHONY: build-utils-image
build-utils-image: export IMAGE ?= $(EMBEDDED_OPERATOR_UTILS_IMAGE):$(EMBEDDED_OPERATOR_UTILS_IMAGE_VERSION)
build-utils-image: export PACKAGE_VERSION ?= $(EMBEDDED_OPERATOR_UTILS_IMAGE_VERSION)
build-utils-image: export APKO_CONFIG = deploy/images/utils/apko.tmpl.yaml
build-utils-image: apko-build

.PHONY: build-and-push-utils-image
build-and-push-utils-image: export IMAGE ?= $(EMBEDDED_OPERATOR_UTILS_IMAGE):$(EMBEDDED_OPERATOR_UTILS_IMAGE_VERSION)
build-and-push-utils-image: export PACKAGE_VERSION ?= $(EMBEDDED_OPERATOR_UTILS_IMAGE_VERSION)
build-and-push-utils-image: export APKO_CONFIG = deploy/images/utils/apko.tmpl.yaml
build-and-push-utils-image: apko-login apko-build-and-publish

.PHONY: buildtools
buildtools:
mkdir -p pkg/goods/bins pkg/goods/internal/bins
Expand Down

0 comments on commit 80df54c

Please sign in to comment.