From f21a34668f71abf2dd3466c7d4a2e0a1131f69e8 Mon Sep 17 00:00:00 2001 From: Kamesh Sampath Date: Mon, 8 Apr 2024 11:24:06 +0530 Subject: [PATCH] (workflow): use FQN for image names --- .github/workflows/images.yml | 10 +--------- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index 185d505..0fd0c08 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -14,7 +14,7 @@ permissions: # issues: write env: - IMAGE_NAME: ${{ github.repository_owner }}/rp-snowflake-sink + IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/rp-snowflake-sink jobs: docker: @@ -44,11 +44,3 @@ jobs: ${{ env.IMAGE_NAME }}:${{ github.ref_name }} env: GITHUB_TOKEN: ${{ secrets.MY_GH_ACTION_TOKEN }} - - name: Push image to GHCR - run: | - docker buildx imagetools create \ - --tag ghcr.io/${{ env.IMAGE_NAME }}:latest \ - --tag ghcr.io/${{ env.IMAGE_NAME }}:${{ github.ref_name }} \ - ${{ env.IMAGE_NAME }}:latest - env: - GITHUB_TOKEN: ${{ secrets.MY_GH_ACTION_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af41da7..b184eb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ permissions: # issues: write env: - IMAGE_NAME: ${{ github.repository_owner }}/grpc-todo-app + IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/grpc-todo-app jobs: goreleaser: