From 2d908eccc82797322e9150db34c3c79a70578362 Mon Sep 17 00:00:00 2001 From: sindunuragarp Date: Tue, 14 Nov 2023 08:57:30 +0100 Subject: [PATCH] push to internal registry directly --- .github/workflows/go.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 7c181b032e1..31ff54c7332 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -92,7 +92,7 @@ jobs: needs: [fmt, lint, generate, test] runs-on: ubuntu-latest env: - REGISTRY_IMAGE: ghcr.io/miroapp/actions-runner-controller + REGISTRY_IMAGE: ${{ secrets.REGISTRY_URL }}/docker/delivery/actions-runner-controller BUILD_PLATFORM: linux/amd64 BUILD_VERSION: ${{ github.event_name != 'pull_request' && 'master' || 'branch' }}-${{ github.sha }} steps: @@ -100,9 +100,9 @@ jobs: - uses: docker/login-action@v3 with: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - registry: ghcr.io + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} + registry: ${{ secrets.REGISTRY_URL }} - uses: docker/setup-qemu-action@v3 with: