From 1c2415fca8ce03b30b1cbf2909147839fdd0f417 Mon Sep 17 00:00:00 2001 From: Eden Reich Date: Wed, 19 Feb 2025 15:39:59 +0000 Subject: [PATCH] chore(cleanup): Cleanup, those labels are redundant because they now fetched from action metadata directly from github repo Signed-off-by: Eden Reich --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19dd885..5afa882 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -246,12 +246,14 @@ jobs: echo "Updating to version ${{ needs.github_release.outputs.new_release_version }}" sed -i "s/^version = .*/version = \"${{ needs.github_release.outputs.new_release_version }}\"/" Cargo.toml - - uses: docker/metadata-action@v5 + - name: Fetch metadata for container build + uses: docker/metadata-action@v5 id: metadata with: images: ghcr.io/${{ github.repository }} - - uses: docker/login-action@v3 + - name: Authenticate with GHCR + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -269,10 +271,6 @@ jobs: target: minimal build-args: | TARGET_ARCH=${{ matrix.target }} - labels: | - org.opencontainers.image.source=https://github.com/inference-gateway/coder - org.opencontainers.image.description=The AI-Powered Coder - org.opencontainers.image.licenses=MIT cache: true cache-repository: ghcr.io/${{ github.repository_owner }}/coder/cache