mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:35:50 +00:00
set image name as a global env
This commit is contained in:
parent
5228352af7
commit
62312f2f66
1 changed files with 2 additions and 2 deletions
4
.github/workflows/maven-build.yml
vendored
4
.github/workflows/maven-build.yml
vendored
|
@ -11,6 +11,8 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
env:
|
||||
IMAGE_NAME: danvid.jfrog.io/assignment-docker/spring-petclinic:${{ github.sha }}
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
@ -38,8 +40,6 @@ jobs:
|
|||
run: ./mvnw test
|
||||
|
||||
- name: Package the project as a runnable Docker image
|
||||
env:
|
||||
IMAGE_NAME: danvid.jfrog.io/assignment-docker/spring-petclinic:${{ github.sha }}
|
||||
run: |
|
||||
jf docker build -t $IMAGE_NAME .
|
||||
|
||||
|
|
Loading…
Reference in a new issue