From ec504dbf5b8a53209565ec237f04a897130e982e Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Mon, 27 Nov 2023 15:48:49 +0000 Subject: [PATCH] hack to build kotsadm image and trigger tests --- .github/workflows/release.yaml | 6 +++--- Makefile | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2c6458464c..80c2d0885d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -188,10 +188,10 @@ jobs: uses: actions/checkout@v3 - uses: ./.github/actions/build-push-kotsadm-image with: - image-name: kotsadm/kotsadm:${{ needs.generate-tag.outputs.tag }} + image-name: ttl.sh/salah/kotsadm:${{ needs.generate-tag.outputs.tag }} git-tag: ${{ needs.generate-tag.outputs.tag }} - registry-username: ${{ secrets.DOCKERHUB_USER }} - registry-password: ${{ secrets.DOCKERHUB_PASSWORD }} + # registry-username: ${{ secrets.DOCKERHUB_USER }} + # registry-password: ${{ secrets.DOCKERHUB_PASSWORD }} - uses: azure/docker-login@v1 env: DOCKER_CONFIG: ./.docker diff --git a/Makefile b/Makefile index 45e10ed58d..b218373216 100644 --- a/Makefile +++ b/Makefile @@ -133,6 +133,9 @@ build-alpha: .PHONY: build-release build-release: + docker tag ttl.sh/salah/kotsadm:${GIT_TAG} kotsadm/kotsadm:${GIT_TAG} + docker push kotsadm/kotsadm:${GIT_TAG} + mkdir -p bin/docker-archive/kotsadm skopeo copy docker-daemon:kotsadm/kotsadm:${GIT_TAG} docker-archive:bin/docker-archive/kotsadm/${GIT_TAG}