From eadde5cc62c30c9fc360cb4e2ed4eafe361be8a2 Mon Sep 17 00:00:00 2001 From: hofq Date: Thu, 6 Jun 2024 17:33:18 +0200 Subject: [PATCH] oh --- .github/workflows/build.yml | 2 -- get_vars.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ca45c5..7815520 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,8 +4,6 @@ on: push: branches: - "main" -permissions: - contents: read jobs: # As the pgvecto-rs module is needed in the Immich Postgres, a custom Bitnami Image Build is implemented. diff --git a/get_vars.sh b/get_vars.sh index ec4785e..9422f11 100755 --- a/get_vars.sh +++ b/get_vars.sh @@ -20,7 +20,7 @@ echo "PGVector - Name: $PGVECTOR_NAME, Digest: ${PGVECTOR_DIGEST:7:5}" TAG_IDENTIFIER=pg$PG_MAJOR_VERSION-${BITNAMI_DIGEST:7:5}-${PGVECTOR_DIGEST:7:5} echo "Identifier will be $TAG_IDENTIFIER" -if [ -z "$(skopeo list-tags --registry-token ${REGISTRY_READ_HQ} docker://ghcr.io/bat-bs/${IMAGE_NAME} | grep $TAG_IDENTIFIER)" ]; then +if [ -z "$(skopeo list-tags --registry-token ${GITHUB_TOKEN} docker://ghcr.io/bat-bs/${IMAGE_NAME} | grep $TAG_IDENTIFIER)" ]; then echo "Tag not found in registry. The image will be build." else echo "Tag found in registry. The image will not be build."