reverting to prior docker image for pipeline #58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and push pipeline-run-docker image | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| paths: | |
| - "pipeline/build-pipeline-docker-images/pipeline-run-docker/**" | |
| - "pipeline/build-pipeline-docker-images/build.sh" | |
| - ".github/workflows/build_pipeline_docker.yml" | |
| env: | |
| ARTIFACT_REGISTRY_REPO: us-central1-docker.pkg.dev/depmap-consortium/depmap-docker-images/depmap-pipeline-run | |
| DOCKER_TAG: ga2-build-${{ github.run_number }} | |
| DOCKERFILE_DIR: pipeline-run-docker | |
| jobs: | |
| build-docker-image: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
| - name: Login to Artifact Registry | |
| uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0 | |
| with: | |
| registry: us-central1-docker.pkg.dev | |
| username: _json_key | |
| password: ${{ secrets.DEPMAP_DEPLOY_SVC_ACCT }} | |
| - name: Build and push depmap pipeline docker image | |
| run: cd pipeline/build-pipeline-docker-images && bash build.sh ${{ env.ARTIFACT_REGISTRY_REPO }} ${{ env.DOCKER_TAG }} ${{ env.DOCKERFILE_DIR }} |