Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
maximusunc committed May 12, 2022
1 parent fae998d commit eb1b38e
Showing 1 changed file with 6 additions and 46 deletions.
52 changes: 6 additions & 46 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,62 +5,22 @@ on:
types: [published]

jobs:
push_frontend:
name: Push frontend image to GitHub Container Registry.
publish_qgraph:
name: Push qgraph to GitHub Container Registry.
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Push Frontend
- name: Push qgraph
uses: docker/build-push-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
path: ./frontend
dockerfile: ./frontend/Dockerfile.prod
repository: ncats-gamma/qgraph/frontend
tags: latest,${{ steps.get_version.outputs.VERSION }}

push_query_dispatcher:
name: Push query dispatcher image to GitHub Container Registry.
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Push Query Dispatcher
uses: docker/build-push-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
path: ./query-dispatcher
dockerfile: ./query-dispatcher/Dockerfile
repository: ncats-gamma/qgraph/query-dispatcher
tags: latest,${{ steps.get_version.outputs.VERSION }}

push_proxy:
name: Push proxy image to GitHub Container Registry.
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Push Proxy
uses: docker/build-push-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
path: ./proxy
dockerfile: ./proxy/Dockerfile
repository: ncats-gamma/qgraph/proxy
path: .
dockerfile: ./Dockerfile.prod
repository: ncats-gamma/qgraph
tags: latest,${{ steps.get_version.outputs.VERSION }}

0 comments on commit eb1b38e

Please sign in to comment.