Skip to content

Commit

Permalink
Image name change
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshhewabi committed Oct 3, 2023
1 parent b71c7ed commit a133729
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ jobs:
context: .
push: true
tags: |
ghcr.io/${{ vars.API_GITHUB_REPOSITORY }}:latest
ghcr.io/${{ vars.API_GITHUB_REPOSITORY }}:${{ env.IMAGE_TAG }}
# ghcr.io/${{ vars.API_GITHUB_REPOSITORY }}:latest
# ghcr.io/${{ vars.API_GITHUB_REPOSITORY }}:${{ env.IMAGE_TAG }}
ghcr.io/$GITHUB_REPOSITORY/$IMAGE_NAME:$GITHUB_SHA
ghcr.io/$GITHUB_REPOSITORY/$IMAGE_NAME:latest

deploy:
needs: docker_build
Expand All @@ -63,7 +65,7 @@ jobs:
k8s_replicas: ${{ vars.K8S_REPLICAS }}
K8S_NAMESPACE: ${{ vars.K8S_NAMESPACE }}
DATABASE_INI: ${{ vars.DATABASE_INI }}
IMAGE: ghcr.io/${{ vars.API_GITHUB_REPOSITORY }}:latest
IMAGE: ghcr.io/$GITHUB_REPOSITORY/$IMAGE_NAME:$GITHUB_SHA

steps:
- name: Checkout repository
Expand Down
4 changes: 1 addition & 3 deletions app/routes/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from fastapi import APIRouter, Depends
from sqlalchemy.orm import Session
from app.routes.index import get_session
from fastapi import APIRouter
from process_dataset import convert_pxd_accession_from_pride
import os

Expand Down

0 comments on commit a133729

Please sign in to comment.