Skip to content

Commit

Permalink
feat: test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LCW committed Sep 28, 2023
1 parent a96d6db commit 663b777
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ name: Docker

on:
push:
branches:
- main
tags:
- v*
branches: [main, release-*]
pull_request:
branches: [main, release-*]

jobs:
push_image_to_registry:
Expand Down Expand Up @@ -59,6 +58,6 @@ jobs:
GITVERSION=git-${{ steps.vars.outputs.git_revision }}
VERSION=${{ steps.get_version.outputs.VERSION }}
tags: |
dragonflyoss/torchserve-dragonfly:${{ steps.get_version.outputs.VERSION }}
lcwdocker/torchserve-dragonfly:test
push:
true
4 changes: 2 additions & 2 deletions images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM gradle:latest as builder

WORKDIR /app

RUN git clone https://github.com/dragonflyoss/dragonfly-endpoint.git

WORKDIR /app/dragonfly-endpoint

COPY . /app/dragonfly-endpoint

RUN gradle shadowJar

FROM pytorch/torchserve:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ private void initConfig() {
logger.error("not found config file :", e);
}
}
}
}

0 comments on commit 663b777

Please sign in to comment.