From 1ad3bbeb12044fde0682669f34a75fe896ca9d9f Mon Sep 17 00:00:00 2001 From: Smriti Dahal <93288516+smritidahal653@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:25:48 -0700 Subject: [PATCH] fix: fix syntax on publish image workflow files (#652) --- .github/workflows/publish-image.yml | 2 +- .github/workflows/publish-init-container-image.yml | 2 +- Makefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 101c64b1..2f960787 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -29,7 +29,7 @@ jobs: with: submodules: true fetch-depth: 0 - ref: {{ inputs.release_version }} + ref: ${{ inputs.release_version }} - name: Login to ${{ inputs.registry }} uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 diff --git a/.github/workflows/publish-init-container-image.yml b/.github/workflows/publish-init-container-image.yml index 46af571f..d05ea217 100644 --- a/.github/workflows/publish-init-container-image.yml +++ b/.github/workflows/publish-init-container-image.yml @@ -33,7 +33,7 @@ jobs: with: submodules: true fetch-depth: 0 - ref: { { inputs.release_version } } + ref: ${{ inputs.release_version }} - name: Login to ${{ inputs.registry }} uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 diff --git a/Makefile b/Makefile index 37ca23f4..05e71f5b 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ TEST_CREDENTIALS_JSON ?= $(TEST_CREDENTIALS_DIR)/credentials.json TEST_LOGANALYTICS_JSON ?= $(TEST_CREDENTIALS_DIR)/loganalytics.json export TEST_CREDENTIALS_JSON TEST_LOGANALYTICS_JSON TEST_AKS_CREDENTIALS_JSON -VERSION ?= v1.6.2 +VERSION ?= v1.6.1 REGISTRY ?= ghcr.io IMG_NAME ?= virtual-kubelet INIT_IMG_NAME ?= init-validation @@ -35,7 +35,7 @@ E2E_CLUSTER_NAME := $(CLUSTER_NAME) OUTPUT_TYPE ?= type=docker BUILDPLATFORM ?= linux/amd64 IMG_TAG ?= $(subst v,,$(VERSION)) -INIT_IMG_TAG ?= v0.3.0 +INIT_IMG_TAG ?= v0.2.0 BUILD_DATE ?= $(shell date '+%Y-%m-%dT%H:%M:%S') VERSION_FLAGS := "-ldflags=-X main.buildVersion=$(IMG_TAG) -X main.buildTime=$(BUILD_DATE)"