Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
omris94 committed May 23, 2023
1 parent a107141 commit f5fcaea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
username: _json_key_base64
password: ${{ secrets.B64_GCLOUD_SERVICE_ACCOUNT_JSON}}

- name: Build Operator Release Image with Tag As Version
- name: Build operator release image with tag as version
uses: docker/build-push-action@v2
with:
context: src/
Expand All @@ -49,7 +49,7 @@ jobs:

- name: Push to Docker Hub
run: |-
docker pull $${{ env.REGISTRY }}/intents-operator:${{ github.ref_name }}
docker pull ${{ env.REGISTRY }}/intents-operator:${{ github.ref_name }}
docker pull ${{ env.REGISTRY }}/watcher:${{ github.sha }}
docker tag ${{ env.REGISTRY }}/intents-operator:${{ github.ref_name }} otterize/intents-operator:${{ github.ref_name }}
docker tag ${{ env.REGISTRY }}/intents-operator:${{ github.ref_name }} otterize/intents-operator:latest
Expand Down
1 change: 0 additions & 1 deletion src/operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ vet: ## Run go vet against code.

.PHONY: test
test: manifests generate fmt vet envtest ## Run tests.
#go test ../exp/... -coverprofile cover.out
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test ./... -coverprofile cover.out

##@ Build
Expand Down
2 changes: 1 addition & 1 deletion src/release.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The only purpose this Dockerfile serves is to be able to run buildx to push a the tag to the version file of the image without rebuilding.
# This Dockerfile enables us to push the release-tag into the /version file of the operator, withour rebuilding the SOURCE_IMAGE.
ARG SOURCE_IMAGE

FROM alpine as releaser
Expand Down

0 comments on commit f5fcaea

Please sign in to comment.