From 6cd388bb19018ee022718c1d2bbdc8eed3a666c4 Mon Sep 17 00:00:00 2001 From: Flynn Date: Thu, 3 Mar 2022 16:39:01 -0500 Subject: [PATCH] Local registry hrm Signed-off-by: Flynn --- .../workflows/execute-tests-and-promote.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/execute-tests-and-promote.yml b/.github/workflows/execute-tests-and-promote.yml index 964bd30c42..6a7d164621 100644 --- a/.github/workflows/execute-tests-and-promote.yml +++ b/.github/workflows/execute-tests-and-promote.yml @@ -265,9 +265,14 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.GH_AWS_SECRET_ACCESS_KEY }} AWS_EC2_METADATA_DISABLED: true AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} - DEV_REGISTRY: ${{ secrets.DEV_REGISTRY }} + # DEV_REGISTRY: ${{ secrets.DEV_REGISTRY }} # See docker/base-python.docker.gen BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }} + services: + registry: + image: registry:2 + ports: + - 5000:5000 steps: - uses: actions/checkout@v2 with: @@ -275,12 +280,12 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Install Deps uses: ./.github/actions/setup-deps - - name: "Docker Login" - uses: docker/login-action@v1 - with: - registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }} - username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }} - password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }} + # - name: "Docker Login" + # uses: docker/login-action@v1 + # with: + # registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }} + # username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }} + # password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }} - name: "make push" shell: bash run: |