From 86ea3b997e774ccba9bd6d117f57bee54bccb65d Mon Sep 17 00:00:00 2001 From: Matej Gera Date: Mon, 11 Dec 2023 11:19:18 +0100 Subject: [PATCH] Publish fork to Coralogix registry Signed-off-by: Matej Gera --- .github/workflows/publish-target-allocator.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-target-allocator.yaml b/.github/workflows/publish-target-allocator.yaml index 99a7aa0da6..b1edce6c4e 100644 --- a/.github/workflows/publish-target-allocator.yaml +++ b/.github/workflows/publish-target-allocator.yaml @@ -45,8 +45,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - otel/target-allocator - ghcr.io/open-telemetry/opentelemetry-operator/target-allocator + coralogixrepo/target-allocator tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} @@ -71,16 +70,8 @@ jobs: uses: docker/login-action@v3 if: ${{ github.event_name == 'push' }} with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Login to GitHub Package Registry - uses: docker/login-action@v3 - if: ${{ github.event_name == 'push' }} - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v5