File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 4848 - run : python -m build
4949 - name : Set up Docker Buildx
5050 uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
51+ - name : Log in to the Elastic Container registry
52+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
53+ with :
54+ registry : ${{ secrets.ELASTIC_DOCKER_REGISTRY }}
55+ username : ${{ secrets.ELASTIC_DOCKER_USERNAME }}
56+ password : ${{ secrets.ELASTIC_DOCKER_PASSWORD }}
57+ if : github.event_name != 'pull_request' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' )
58+ - run : docker build -f operator/Dockerfile --build-arg DISTRO_DIR=./dist .
59+ if : github.event_name != 'pull_request' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' )
5160 - run : docker build -f operator/Dockerfile --build-arg PYTHON_GLIBC_IMAGE=cgr.dev/chainguard/python --build-arg PYTHON_GLIBC_IMAGE_VERSION=latest --build-arg DISTRO_DIR=./dist --build-arg IMAGE=cgr.dev/chainguard/busybox --build-arg IMAGE_VERSION=latest .
61+ if : github.event_name == 'pull_request' && (github.event.pull_request.head.repo.fork == true || github.actor == 'dependabot[bot]')
5262
5363 test :
5464 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments