diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml deleted file mode 100644 index d8141f1f..00000000 --- a/.github/workflows/labels.yml +++ /dev/null @@ -1,131 +0,0 @@ -name: labels - -on: - pull_request_target: - types: - - labeled - - closed - branches: - - develop - - refs/heads/develop - -jobs: - debug: - runs-on: ubuntu-latest - steps: - - name: log-all - run: | - echo ref: ${{github.ref}} - echo merged: ${{github.event.pull_request.merged == true}} ${{github.event.pull_request.merged}} - echo action: ${{github.event.action}} - echo label: ${{github.event.label.name}} - echo action-is-closed: ${{github.event.action == 'closed'}} - echo set-staging-develop: ${{github.ref == 'refs/heads/develop' && github.event.action == 'closed' && github.event.pull_request.merged == true}} - echo request-qa: ${{github.event.label.name == 'qa:ready' && github.event.pull_request.merged == true}} - echo is backend label: ${{github.event.label.name == 'backend'}} - - set-staging-develop: - if: github.event.action == 'closed' && github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: "staging:develop" - - request-qa: - if: github.event.label.name == 'qa:ready' && github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: qa - fetch-depth: 0 - token: ${{ secrets.WORKFLOW_GIT_TOKEN }} - - name: cherry-picking - run: | - git config user.name "Labels Bot" - git config user.email "labels-bot@github.com" - git status - git cherry-pick ${{github.event.pull_request.merge_commit_sha}} - git push - - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: "staging:qa" - - uses: actions-ecosystem/action-remove-labels@v1 - with: - labels: | - qa:ready - staging:develop - - request-canary: - if: github.event.label.name == 'canary:ready' && github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: canary - fetch-depth: 0 - token: ${{ secrets.WORKFLOW_GIT_TOKEN }} - - name: cherry-picking - run: | - git config user.name "Labels Bot" - git config user.email "labels-bot@github.com" - git cherry-pick ${{github.event.pull_request.merge_commit_sha}} - git push - - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: "staging:canary" - - uses: actions-ecosystem/action-remove-labels@v1 - with: - labels: | - canary:ready - staging:qa - - request-priority-1: - if: github.event.label.name == 'priority:1' && github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: qa - fetch-depth: 0 - token: ${{ secrets.WORKFLOW_GIT_TOKEN }} - - name: cherry-picking - run: | - git config user.name "Labels Bot" - git config user.email "labels-bot@github.com" - git cherry-pick ${{github.event.pull_request.merge_commit_sha}} - git push - - uses: actions/checkout@v4 - with: - ref: canary - fetch-depth: 0 - token: ${{ secrets.WORKFLOW_GIT_TOKEN }} - - name: cherry-picking - run: | - git config user.name "Labels Bot" - git config user.email "labels-bot@github.com" - git cherry-pick ${{github.event.pull_request.merge_commit_sha}} - git push - - uses: actions/checkout@v4 - with: - ref: main - fetch-depth: 0 - token: ${{ secrets.WORKFLOW_GIT_TOKEN }} - - name: cherry-picking - run: | - git config user.name "Labels Bot" - git config user.email "labels-bot@github.com" - git cherry-pick ${{github.event.pull_request.merge_commit_sha}} - git push - - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: "staging:main" - - uses: actions-ecosystem/action-remove-labels@v1 - with: - labels: | - staging:develop - staging:qa - staging:canary - priority:1 diff --git a/docker-bake.hcl b/docker-bake.hcl index 79bc11f6..2d9981f4 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -16,7 +16,7 @@ target "backend" { dockerfile = "docker/tdrive-node/Dockerfile" target = "production" tags = concat( - generate_tags("docker.io/linagora/tdrive-node", target.docker-metadata-action.tags), + generate_tags("docker.io/twakedrive/tdrive-node", target.docker-metadata-action.tags), generate_tags("docker-registry.linagora.com/tdrive/tdrive-node", target.docker-metadata-action.tags), ) } @@ -25,7 +25,7 @@ target "frontend" { inherits = ["_common"] dockerfile = "docker/tdrive-frontend/Dockerfile" tags = concat( - generate_tags("docker.io/linagora/tdrive-frontend", target.docker-metadata-action.tags), + generate_tags("docker.io/twakedrive/tdrive-frontend", target.docker-metadata-action.tags), generate_tags("docker-registry.linagora.com/tdrive/tdrive-frontend", target.docker-metadata-action.tags), ) } @@ -34,7 +34,7 @@ target "onlyoffice-connector" { inherits = ["_common"] dockerfile = "docker/onlyoffice-connector/Dockerfile" tags = concat( - generate_tags("docker.io/linagora/onlyoffice-connector", target.docker-metadata-action.tags), + generate_tags("docker.io/twakedrive/onlyoffice-connector", target.docker-metadata-action.tags), generate_tags("docker-registry.linagora.com/tdrive/onlyoffice-connector", target.docker-metadata-action.tags), ) } @@ -42,7 +42,7 @@ target "ldap-sync" { inherits = ["_common"] dockerfile = "docker/tdrive-ldap-sync/Dockerfile" tags = concat( - generate_tags("docker.io/linagora/tdrive-ldap-sync", target.docker-metadata-action.tags), + generate_tags("docker.io/twakedrive/tdrive-ldap-sync", target.docker-metadata-action.tags), generate_tags("docker-registry.linagora.com/tdrive/tdrive-ldap-sync", target.docker-metadata-action.tags), ) } @@ -50,7 +50,7 @@ target "nextcloud-migration" { inherits = ["_common"] dockerfile = "docker/tdrive-nextcloud-migration/Dockerfile" tags = concat( - generate_tags("docker.io/linagora/tdrive-nextcloud-migration", target.docker-metadata-action.tags), + generate_tags("docker.io/twakedrive˚/tdrive-nextcloud-migration", target.docker-metadata-action.tags), generate_tags("docker-registry.linagora.com/tdrive/tdrive-nextcloud-migration", target.docker-metadata-action.tags), ) }