diff --git a/.github/workflows/build_push_docker_latest.yml b/.github/workflows/build_push_docker_latest.yml index a12941df3..f26857358 100644 --- a/.github/workflows/build_push_docker_latest.yml +++ b/.github/workflows/build_push_docker_latest.yml @@ -21,21 +21,20 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push Immich Mono Repo uses: docker/build-push-action@v3.1.0 with: context: ./server file: ./server/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 + push: true tags: | altran1502/immich-server:latest - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker push - run: docker push altran1502/immich-server:latest build_and_push_machine_learning_latest: runs-on: ubuntu-latest @@ -50,21 +49,20 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and Push Machine Learning uses: docker/build-push-action@v3.1.0 with: context: ./machine-learning file: ./machine-learning/Dockerfile platforms: linux/arm/v7,linux/amd64 + push: true tags: | altran1502/immich-machine-learning:latest - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker push - run: docker push altran1502/immich-machine-learning:latest build_and_push_web_latest: runs-on: ubuntu-latest @@ -78,6 +76,11 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and Push Web uses: docker/build-push-action@v3.1.0 with: @@ -85,15 +88,9 @@ jobs: file: ./web/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 target: prod + push: true tags: | altran1502/immich-web:latest - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker push - run: docker push altran1502/immich-web:latest build_and_push_nginx_latest: runs-on: ubuntu-latest @@ -107,18 +104,17 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and Push Proxy uses: docker/build-push-action@v3.1.0 with: context: ./nginx file: ./nginx/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 + push: true tags: | altran1502/immich-proxy:latest - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker push - run: docker push altran1502/immich-proxy:latest diff --git a/.github/workflows/build_push_docker_staging.yml b/.github/workflows/build_push_docker_staging.yml index d359b86c6..31823ce28 100644 --- a/.github/workflows/build_push_docker_staging.yml +++ b/.github/workflows/build_push_docker_staging.yml @@ -23,22 +23,20 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push Immich Mono Repo uses: docker/build-push-action@v3.1.0 with: context: ./server file: ./server/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 + push: ${{ github.event_name == 'pull_request' }} tags: | altran1502/immich-server:staging - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker push - if: ${{ github.event_name == 'pull_request' }} - run: docker push altran1502/immich-server:staging build_and_push_machine_learning_staging: runs-on: ubuntu-latest @@ -53,22 +51,20 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and Push Machine Learning uses: docker/build-push-action@v3.1.0 with: context: ./machine-learning file: ./machine-learning/Dockerfile platforms: linux/arm/v7,linux/amd64 + push: ${{ github.event_name == 'pull_request' }} tags: | altran1502/immich-machine-learning:staging - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker push - if: ${{ github.event_name == 'pull_request' }} - run: docker push altran1502/immich-machine-learning:staging build_and_push_web_staging: runs-on: ubuntu-latest @@ -82,6 +78,11 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and Push Web uses: docker/build-push-action@v3.1.0 with: @@ -89,16 +90,9 @@ jobs: file: ./web/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 target: prod + push: ${{ github.event_name == 'pull_request' }} tags: | altran1502/immich-web:staging - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker push - if: ${{ github.event_name == 'pull_request' }} - run: docker push altran1502/immich-web:staging build_and_push_nginx_staging: runs-on: ubuntu-latest @@ -112,19 +106,17 @@ jobs: - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2.0.0 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and Push Proxy uses: docker/build-push-action@v3.1.0 with: context: ./nginx file: ./nginx/Dockerfile platforms: linux/arm/v7,linux/amd64,linux/arm64 + push: ${{ github.event_name == 'pull_request' }} tags: | altran1502/immich-proxy:staging - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker push - if: ${{ github.event_name == 'pull_request' }} - run: docker push altran1502/immich-proxy:staging \ No newline at end of file diff --git a/Makefile b/Makefile index b4587f788..259759c2b 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,9 @@ dev-scale: stage: docker-compose -f ./docker/docker-compose.staging.yml up --build -V --remove-orphans +pull-stage: + docker-compose -f ./docker/docker-compose.staging.yml pull + test-e2e: docker-compose -f ./docker/docker-compose.test.yml --env-file ./docker/.env.test -p immich-test-e2e up --renew-anon-volumes --abort-on-container-exit --exit-code-from immich-server-test --remove-orphans --build diff --git a/web/src/app.css b/web/src/app.css index 12b80cf28..082e03dfc 100644 --- a/web/src/app.css +++ b/web/src/app.css @@ -7,6 +7,34 @@ :root { font-family: 'Work Sans', sans-serif; + /* --immich-icon-button-hover-color: #d3d3d3; */ +} + +html { + height: 100%; + width: 100%; +} + +html::-webkit-scrollbar { + width: 8px; +} + +/* Track */ +html::-webkit-scrollbar-track { + background: #f1f1f1; + border-radius: 16px; +} + +/* Handle */ +html::-webkit-scrollbar-thumb { + background: rgba(85, 86, 87, 0.408); + border-radius: 16px; +} + +/* Handle on hover */ +html::-webkit-scrollbar-thumb:hover { + background: #4250afad; + border-radius: 16px; } body { diff --git a/web/src/lib/components/album-page/album-app-bar.svelte b/web/src/lib/components/album-page/album-app-bar.svelte index ba700eb26..a5bec62d2 100644 --- a/web/src/lib/components/album-page/album-app-bar.svelte +++ b/web/src/lib/components/album-page/album-app-bar.svelte @@ -1,18 +1,30 @@ @@ -22,17 +34,19 @@ class={`flex justify-between ${appBarBorder} rounded-lg p-2 mx-2 mt-2 transition-all place-items-center`} >
{getDateRange()}
+{getDateRange()}
{/if} {#if album.shared} -Options
+ +