Skip to content

Commit

Permalink
oh
Browse files Browse the repository at this point in the history
  • Loading branch information
hofq committed Jun 6, 2024
1 parent 5475a55 commit eadde5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion get_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit eadde5c

Please # to comment.