Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

ci: fix contents permission

Timothy Yince12f5223335
diff --git a/.github/workflows/docker-release-ghcr.yml b/.github/workflows/docker-release-ghcr.yml
index f84a6207..582ac795 100644
--- a/.github/workflows/docker-release-ghcr.yml
+++ b/.github/workflows/docker-release-ghcr.yml
@@ -13,12 +13,15 @@ jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
- contents: read
+ contents: write
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ fetch-tags: true
- name: Extract version from tag
id: version