From 925dd1aa5b9ec0357754b828f6d56162537f8bbe Mon Sep 17 00:00:00 2001 From: NSMBot Date: Wed, 2 Jun 2021 18:21:07 +0000 Subject: [PATCH] Sync files with networkservicemesh/cmd-template This PR syncs files with https://github.com/networkservicemesh/cmd-template Revision: https://github.com/networkservicemesh/cmd-template/commits/2888f9b1a2e11107cf150ba022d56b8741c06436 commit 2888f9b1a2e11107cf150ba022d56b8741c06436 Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Thu Jun 3 01:19:57 2021 +0700 update docker-push-ghcr pattern (#76) Signed-off-by: Denis Tingaikin Signed-off-by: NSMBot --- .github/workflows/docker-push-ghcr.yml | 2 +- .github/workflows/update-deployments.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-push-ghcr.yml b/.github/workflows/docker-push-ghcr.yml index c904178..9be5c43 100644 --- a/.github/workflows/docker-push-ghcr.yml +++ b/.github/workflows/docker-push-ghcr.yml @@ -30,7 +30,7 @@ jobs: id: metaci uses: docker/metadata-action@v3 with: - images: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}/ci + images: ghcr.io/${{ github.repository_owner }}/ci/${{ github.event.repository.name }} tags: | type=ref,event=pr type=sha,prefix= diff --git a/.github/workflows/update-deployments.yaml b/.github/workflows/update-deployments.yaml index 6e1cc32..db805e0 100644 --- a/.github/workflows/update-deployments.yaml +++ b/.github/workflows/update-deployments.yaml @@ -47,11 +47,11 @@ jobs: with: find: "${{ github.event.repository.name }}:.*\n" replace: "${{ github.event.repository.name }}:${{ steps.short-sha.outputs.sha }}\n" - - name: Find and Replace ${{ github.event.repository.name }}/ci version + - name: Find and Replace ci/${{ github.event.repository.name }} version uses: jacobtomlinson/gha-find-replace@master with: - find: "${{ github.event.repository.name }}/ci:.*\n" - replace: "${{ github.event.repository.name }}/ci:${{ steps.short-sha.outputs.sha }}\n" + find: "ci/${{ github.event.repository.name }}:.*\n" + replace: "ci/${{ github.event.repository.name }}:${{ steps.short-sha.outputs.sha }}\n" - name: Push update to the deployments-k8s working-directory: networkservicemesh/deployments-k8s run: |