|
|
|
@ -27,6 +27,13 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
|
|
- name: Login to GitHub Container Registry
|
|
|
|
|
|
|
|
if: ${{ github.repository == 'immich-app/immich' }}
|
|
|
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
|
|
|
username: ${{ github.actor }}
|
|
|
|
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and push Immich Mono Repo
|
|
|
|
- name: Build and push Immich Mono Repo
|
|
|
|
uses: docker/build-push-action@v3.2.0
|
|
|
|
uses: docker/build-push-action@v3.2.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
@ -39,6 +46,8 @@ jobs:
|
|
|
|
tags: |
|
|
|
|
tags: |
|
|
|
|
altran1502/immich-server:staging
|
|
|
|
altran1502/immich-server:staging
|
|
|
|
altran1502/immich-server:${{ github.event.pull_request.number }}
|
|
|
|
altran1502/immich-server:${{ github.event.pull_request.number }}
|
|
|
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/immich-server:staging
|
|
|
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/immich-server:${{ github.event.pull_request.number }}
|
|
|
|
|
|
|
|
|
|
|
|
build_and_push_machine_learning_staging:
|
|
|
|
build_and_push_machine_learning_staging:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
@ -59,6 +68,13 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
|
|
- name: Login to GitHub Container Registry
|
|
|
|
|
|
|
|
if: ${{ github.repository == 'immich-app/immich' }}
|
|
|
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
|
|
|
username: ${{ github.actor }}
|
|
|
|
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and Push Machine Learning
|
|
|
|
- name: Build and Push Machine Learning
|
|
|
|
uses: docker/build-push-action@v3.2.0
|
|
|
|
uses: docker/build-push-action@v3.2.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
@ -71,6 +87,8 @@ jobs:
|
|
|
|
tags: |
|
|
|
|
tags: |
|
|
|
|
altran1502/immich-machine-learning:staging
|
|
|
|
altran1502/immich-machine-learning:staging
|
|
|
|
altran1502/immich-machine-learning:${{ github.event.pull_request.number }}
|
|
|
|
altran1502/immich-machine-learning:${{ github.event.pull_request.number }}
|
|
|
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/immich-machine-learning:staging
|
|
|
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/immich-machine-learning:${{ github.event.pull_request.number }}
|
|
|
|
|
|
|
|
|
|
|
|
build_and_push_web_staging:
|
|
|
|
build_and_push_web_staging:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
@ -90,6 +108,13 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
|
|
- name: Login to GitHub Container Registry
|
|
|
|
|
|
|
|
if: ${{ github.repository == 'immich-app/immich' }}
|
|
|
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
|
|
|
username: ${{ github.actor }}
|
|
|
|
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and Push Web
|
|
|
|
- name: Build and Push Web
|
|
|
|
uses: docker/build-push-action@v3.2.0
|
|
|
|
uses: docker/build-push-action@v3.2.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
@ -101,6 +126,8 @@ jobs:
|
|
|
|
tags: |
|
|
|
|
tags: |
|
|
|
|
altran1502/immich-web:staging
|
|
|
|
altran1502/immich-web:staging
|
|
|
|
altran1502/immich-web:${{ github.event.pull_request.number }}
|
|
|
|
altran1502/immich-web:${{ github.event.pull_request.number }}
|
|
|
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/immich-web:staging
|
|
|
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/immich-web:${{ github.event.pull_request.number }}
|
|
|
|
|
|
|
|
|
|
|
|
build_and_push_nginx_staging:
|
|
|
|
build_and_push_nginx_staging:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
@ -120,6 +147,13 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
|
|
- name: Login to GitHub Container Registry
|
|
|
|
|
|
|
|
if: ${{ github.repository == 'immich-app/immich' }}
|
|
|
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
|
|
|
username: ${{ github.actor }}
|
|
|
|
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and Push Proxy
|
|
|
|
- name: Build and Push Proxy
|
|
|
|
uses: docker/build-push-action@v3.2.0
|
|
|
|
uses: docker/build-push-action@v3.2.0
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
@ -130,3 +164,5 @@ jobs:
|
|
|
|
tags: |
|
|
|
|
tags: |
|
|
|
|
altran1502/immich-proxy:staging
|
|
|
|
altran1502/immich-proxy:staging
|
|
|
|
altran1502/immich-proxy:${{ github.event.pull_request.number }}
|
|
|
|
altran1502/immich-proxy:${{ github.event.pull_request.number }}
|
|
|
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/immich-proxy:staging
|
|
|
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/immich-proxy:${{ github.event.pull_request.number }}
|
|
|
|
|