From 8966769f006457fffec9bb4b10b0a3b680e18ff4 Mon Sep 17 00:00:00 2001 From: Akis Maziotis Date: Tue, 2 May 2023 21:49:30 +0300 Subject: [PATCH] [chore] CI. Disabling artifacts upload to mattermost dockerhub We are disabling uploading e2e artifacts to mattermost dockerhub repository. This was temporary, to help with the migration to the new repo, of all sourounding services. Ticket: https://mattermost.atlassian.net/browse/CLD-5614 --- .github/workflows/artifacts.yml | 38 --------------------------------- 1 file changed, 38 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 1596a327a4..a05b348972 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -65,44 +65,6 @@ jobs: export MM_PACKAGE=https://pr-builds.mattermost.com/$REPO_NAME/commit/$COMMIT_SHA/mattermost-team-linux-amd64.tar.gz docker buildx build --push --build-arg MM_PACKAGE=$MM_PACKAGE -t mattermostdevelopment/mm-te-test:${TAG} . - # Temporary uploading also to mattermost/mm-te-test:${TAG} except mattermostdevelopment/mm-te-test:${TAG} - # Context: https://community.mattermost.com/private-core/pl/3jzzxzfiji8hx833ewyuthzkjh - build-docker-temp: - name: cd/Build and push docker image - needs: upload-s3 - env: - REPO_NAME: ${{ github.event.repository.name }} - - runs-on: ubuntu-22.04 - if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' - steps: - - name: cd/Login to Docker Hub - uses: docker/login-action@3da7dc6e2b31f99ef2cb9fb4c50fb0971e0d0139 # v2.1.0 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: cd/Download artifacts - uses: dawidd6/action-download-artifact@0c49384d39ceb023b8040f480a25596fd6cf441b # v2.26.0 - with: - workflow: ${{ github.event.workflow_run.workflow_id }} - run_id: ${{ github.event.workflow_run.id }} - workflow_conclusion: success - name: server-build-artifact - path: server/build/ - - name: cd/Setup Docker Buildx - uses: docker/setup-buildx-action@11e8a2e2910826a92412015c515187a2d6750279 # v2.4 - - name: cd/Docker build and push - env: - DOCKER_CLI_EXPERIMENTAL: enabled - REPO_NAME: ${{ github.event.repository.name }} - COMMIT_SHA: ${{ github.event.workflow_run.head_sha }} - run: | - export TAG=$(echo "${{ github.event.pull_request.head.sha || github.event.workflow_run.head_sha }}" | cut -c1-7) - cd server/build - export DOCKER_CLI_EXPERIMENTAL=enabled - export MM_PACKAGE=https://pr-builds.mattermost.com/$REPO_NAME/commit/$COMMIT_SHA/mattermost-team-linux-amd64.tar.gz - docker buildx build --push --build-arg MM_PACKAGE=$MM_PACKAGE -t mattermost/mm-te-test:${TAG} . - sentry: name: Send build info to sentry if: >