From 59cf82ecec545f57e1c1ffcc8ef500e6f674c934 Mon Sep 17 00:00:00 2001 From: Vitaliy Guschin Date: Tue, 20 Feb 2024 12:03:47 +0400 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20exclude=20govpp=20package=20fro?= =?UTF-8?q?m=20go.mod=20deps.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Vitaliy Guschin --- .github/workflows/check-gomod-deps.yaml | 1 - .github/workflows/docker-release.yaml | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-gomod-deps.yaml b/.github/workflows/check-gomod-deps.yaml index 9d93e1e..72787c1 100644 --- a/.github/workflows/check-gomod-deps.yaml +++ b/.github/workflows/check-gomod-deps.yaml @@ -19,7 +19,6 @@ jobs: run: | cat go.mod | grep 'github.com/networkservicemesh/.* v' | - grep -v 'github.com/networkservicemesh/govpp.*' | grep -v 'github.com/networkservicemesh/vpphelper.*' | grep -v 'github.com/networkservicemesh/.* ${{ inputs.tag }}' || exit 0; exit 1; diff --git a/.github/workflows/docker-release.yaml b/.github/workflows/docker-release.yaml index aacc60b..3590544 100644 --- a/.github/workflows/docker-release.yaml +++ b/.github/workflows/docker-release.yaml @@ -3,6 +3,11 @@ name: Release docker images on: workflow_call: inputs: + suffix: + description: optional image name suffix + type: string + default: "" + required: false tag: type: string required: true @@ -35,4 +40,4 @@ jobs: context: . push: true platforms: linux/amd64,linux/arm64 - tags: "ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ inputs.tag }}" + tags: "ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}${{ inputs.suffix }}:${{ inputs.tag }}"