Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta50 committed Sep 18, 2024
1 parent fc08d10 commit 24fed56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/hostplumber-multiarch-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hostplumber/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
3 changes: 1 addition & 2 deletions hostplumber/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 24fed56

Please sign in to comment.