From f97793c4fed773bc10e109862b9a60e81d199d93 Mon Sep 17 00:00:00 2001 From: fsimonjetz Date: Tue, 16 Jul 2024 08:52:04 +0000 Subject: [PATCH] remove push to old registry --- .github/workflows/main.yml | 69 +------------------------------------- 1 file changed, 1 insertion(+), 68 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe36434b2..71e80d069 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,74 +42,7 @@ jobs: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: coverageCommand: yarn test --coverage --forceExit --detectOpenHandles - docker: - if: github.event_name == 'push' && github.ref == 'refs/heads/master' - needs: [test] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: docker/setup-buildx-action@v1 - - - uses: docker/login-action@v1 - with: - registry: www.ebl.lmu.de - username: ${{ secrets.EBL_REGISTRY_USERNAME }} - password: ${{ secrets.EBL_REGISTRY_PASSWORD }} - - - id: docker_build - uses: docker/build-push-action@v2 - with: - build-args: | - REACT_APP_AUTH0_DOMAIN=auth.ebl.lmu.de - REACT_APP_CORRECTIONS_EMAIL=ebl-support+corrections@culture.lmu.de - REACT_APP_INFO_EMAIL=ebl-info@culture.lmu.de - REACT_APP_AUTH0_CLIENT_ID=${{ secrets.REACT_APP_AUTH0_CLIENT_ID }} - REACT_APP_AUTH0_AUDIENCE=${{ secrets.REACT_APP_AUTH0_AUDIENCE }} - REACT_APP_DICTIONARY_API_URL=/api - REACT_APP_SENTRY_DSN=${{ secrets.REACT_APP_SENTRY_DSN }} - REACT_APP_GA_TRACKING_ID=${{ secrets.REACT_APP_GA_TRACKING_ID }} - context: . - file: ./Dockerfile - push: true - tags: | - www.ebl.lmu.de/ebl-frontend:master - ${{format('www.ebl.lmu.de/ebl-frontend:master.{0}', github.run_number)}} - - docker-test: - if: github.event_name == 'push' && github.ref == 'refs/heads/master' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: docker/setup-buildx-action@v1 - - - uses: docker/login-action@v1 - with: - registry: www.ebl.lmu.de - username: ${{ secrets.EBL_REGISTRY_USERNAME }} - password: ${{ secrets.EBL_REGISTRY_PASSWORD }} - - - id: docker_build - uses: docker/build-push-action@v2 - with: - build-args: | - REACT_APP_AUTH0_DOMAIN=auth.ebl.lmu.de - REACT_APP_CORRECTIONS_EMAIL=ebl-support+corrections@culture.lmu.de - REACT_APP_INFO_EMAIL=ebl-info@culture.lmu.de - REACT_APP_AUTH0_CLIENT_ID=${{ secrets.REACT_APP_AUTH0_CLIENT_ID }} - REACT_APP_AUTH0_AUDIENCE=${{ secrets.REACT_APP_AUTH0_AUDIENCE }} - REACT_APP_DICTIONARY_API_URL=/test/api - REACT_APP_SENTRY_DSN=${{ secrets.REACT_APP_SENTRY_DSN }} - REACT_APP_GA_TRACKING_ID=${{ secrets.REACT_APP_GA_TRACKING_ID }} - context: . - file: ./Dockerfile - push: true - tags: | - www.ebl.lmu.de/ebl-frontend:test - - docker2: if: github.event_name == 'push' && github.ref == 'refs/heads/master' needs: [test] runs-on: ubuntu-latest @@ -143,7 +76,7 @@ jobs: ebl.badw.de/ebl-frontend:master ${{format('ebl.badw.de/ebl-frontend:master.{0}', github.run_number)}} - docker-test2: + docker-test: if: github.event_name == 'push' && github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: