From 24fed5645f761f006d63e0732679ea84100f4a27 Mon Sep 17 00:00:00 2001 From: Shweta chavan Date: Wed, 18 Sep 2024 13:47:28 +0530 Subject: [PATCH] test --- .github/workflows/hostplumber-multiarch-build-and-push.yml | 6 +----- hostplumber/Dockerfile | 2 +- hostplumber/Makefile | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/hostplumber-multiarch-build-and-push.yml b/.github/workflows/hostplumber-multiarch-build-and-push.yml index b57548fa..fb8ce0f5 100644 --- a/.github/workflows/hostplumber-multiarch-build-and-push.yml +++ b/.github/workflows/hostplumber-multiarch-build-and-push.yml @@ -14,10 +14,6 @@ jobs: env: USERNAME: ${{ secrets.QUAY_USERNAME }} PASSWORD: ${{ secrets.QUAY_PASSWORD }} - BUILD_ARGS: "" - PLATFORMS: linux/amd64 - BRANCH: ${{ github.head_ref || github.ref_name }} - PUSH: true runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -32,7 +28,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Login to the Docker Registry + - name: Login to the Quay Registry uses: docker/login-action@v1 with: registry: quay.io diff --git a/hostplumber/Dockerfile b/hostplumber/Dockerfile index 428e5105..e492c591 100644 --- a/hostplumber/Dockerfile +++ b/hostplumber/Dockerfile @@ -8,7 +8,7 @@ COPY go.sum go.sum # cache deps before building and copying source so that we don't need to re-download as much # and so that source changes don't invalidate our downloaded layer RUN go mod download - +RUN echo "hello" # Copy the go source COPY main.go main.go COPY api/ api/ diff --git a/hostplumber/Makefile b/hostplumber/Makefile index 74143355..d78c1662 100755 --- a/hostplumber/Makefile +++ b/hostplumber/Makefile @@ -1,7 +1,7 @@ SHELL=/bin/bash # Image URL to use all building/pushing image targets VER_LABEL=$(shell ../get-label.bash) -IMG ?= platform9/hostplumber:$(VER_LABEL) +IMG ?= quay.io/platform9/hostplumber:$(VER_LABEL) # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. ENVTEST_K8S_VERSION = 1.27 @@ -152,7 +152,6 @@ img-build: $(BUILD_DIR) img-test docker build --network host . -t ${IMG} img-build-push: img-build docker-push - docker login docker push ${IMG} echo ${IMG} >> $(BUILD_DIR)/container-tag