Skip to content

Commit

Permalink
Remove build-and-push-node-docker-images job.
Browse files Browse the repository at this point in the history
Job will be refactored in new workflow.
  • Loading branch information
henrychao-rcsb authored Jul 17, 2023
1 parent 622a880 commit df651e5
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/node-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,3 @@ jobs:
distribution: ${{ inputs.distribution }}
branch: ${{ inputs.branch }}
type: node

build-and-push-node-docker-images:
runs-on: ["self-hosted","node"]
steps:
- uses: actions/checkout@v3
- name: Build
run: |
npm ci
npm run build --if-present
#LogintoRCSBHarborregistryissetupwithintheGitHubActionsrunnerenvironment
- name: Docker image metadata
id: meta
uses: docker/metadata-action@v4
with:
images: harbor.devops.k8s.rcsb.org/rcsb/rcsb-${{ inputs.distribution }}
tags: |
#set latest tag for production branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'production') }}
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
- name: Build and Push Images - ${{ inputs.distribution }}
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
build-args: BRANCH_NAME=${{ inputs.branch }}

0 comments on commit df651e5

Please sign in to comment.